Copy container images from one host to another
Copy an image from one host to another, without using a Docker registry:
# stream `image-name` from `host-a` gzipped over the network, use `pv` to show progress
ssh user@host-a docker save image-name \| gzip | zcat | pv | docker load
# Note how the first pipe is escaped, because it's supposed to be executed on the remote host
# Use podman, docker, or whatever container engine you like to use
# Alternatively, stream `image-name` from `host-a`, use ssh compression and don't show progress
ssh +C user@host-a docker save image-name | docker load