deliberate.codes

Weblog of Marco N. - a software guy in data. I build with AI.

Save and load Docker images as zipped tarballs

Saving and sharing a Docker image on your host is possible via the following steps.

(1) Save and ZIP the image as a tarball:

docker save -o image.tar image-name
gzip -k image.tar

(2) Load the tarball on the other machine:

gunzip -k image.tar.gz
docker load -i image.tar