See flakeforge for details.
You can launch flakeforge with this repo directly using nix run github:elohmeier/flakeforge -- github:elohmeier/flakeforge-example
.
Then use e.g. docker pull localhost:5000/my-bash-image
to download the container image.