There is an easy way to transfer Docker images from one host to another without using any repository.
Copy Docker images from one host to another
First, you need to save the docker image as a tar:
<path-for-generated-tar-file>- This will be the location of the generated tar file with the image inside<image-name>- This is the name of the image you want to save / copy / transfer
Then, transfer the tar file to the new system using one of the popular methods (cp, scp, rsync)
Lastly, load the image into Docker on the second host:
<path-to-image-tar-file>- This is the location of the tar file containing the image
Got an article suggestion?
Let us know
BY
NC
SA
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.