How to move a Docker image to another system

If you have created your own Docker image locally and want to move it to another docker host without first uploading it to a docker or private local repository you can use docker’s save command to save your image locally as ordinary tar archive archive and the copy and re-deploy it on another docker system. For example here we first make a backup of our docker image eg. linuxconfig:

# docker save linuxconfig > linuxconfig.tar

The above command have created a tarball of our local docker image linuxconfig which we now can move to another system and re-deploy it with Docker’s command load:

# docker load -i linuxconfig.tar

All done you should now see your docker image among the rest of your images using docker’s images command:

# docker images