Sharing private docker images
There are situations when we need to distribute our images without docker hub. As you know docker hub is public docker registry therefore anyone can see the images uploaded. You can choose to pay for a private account, but that would still involve transferring the image to the hub and back. Sometimes we just want to copy our confidential images form one host to another. A simple way to achieve this to use: docker save imagename > imagename.tar This will take the image form your local docker repository and exports it to a tar file. One can use gzip to compress the image further. Loading the images on a different host also straightforward. docker load -i imagename.tar Docker will restore the image with its layers into the new repository.