Categories

Aug 15 in DevOps

Q:

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

Aug 15

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>
Click here to read more about DevOps
Click here to read more about Insurance

Related questions

Madanswer
Aug 15
Aug 15 in DevOps
Dec 1, 2019 in DevOps
...