HFOVEKSXBYXR73OGNSLY7WIOPW72ITQPKH4CYKRGBBBHKVPT2AUAC
wttr-delft-container = pkgs.dockerTools.buildImage {
# Actually, this makes a script that dumps the image to stdout,
# in this way we can load the data directly into Podman, without
# having a copy of the image in the Nix store; for large images this is very convenient!
wttr-delft-container = pkgs.dockerTools.streamLayeredImage {
h "We start by loading the container we just made into the registry:"
x docker load -i ./result
h "We start by loading the container stream we just made into the registry:"
, "Just pipe it directly into podman"
x "./result | podman load"
h "We can see it's there, and it's tiny!"
x "docker image ls | grep 'wttr-delft\|^REPOSITORY'"
h "We can see the final image is there, and it's tiny!"
x "podman image ls | grep 'wttr-delft\|^REPOSITORY'"