+1 vote
in DevOps by

Q. How do I transfer a Docker image from one machine to another one without using a repository, no matter private or public?

How do I transfer a Docker image from one machine to another one without using a repository, no matter private or public?

1 Answer

0 votes
by

You will need to save the Docker image as a tar file:

docker save - o <path for generated tar file> <image name>

Then copy your image to a new system with regular file transfer tools such as cp or scp. After that you will have to load the image into Docker:

docker load -i <path to image tar file>

Related questions

+1 vote
asked Aug 15, 2020 in DevOps by RShastri
+1 vote
0 votes
0 votes
asked Aug 15, 2020 in Continuous Deployment by RShastri
...