How to copy docker images from one host to another without a repository?

0 votes

I create my own image in virtualbox and deploy it on other machines. I’m not able to recreate images from dockerfile. How to transfer docker image from one machine to another one without using a repository, doesn’t matter if its private or public?

Jul 19, 2018 in Docker by Nilesh
• 6,900 points
100 views

1 answer to this question.

0 votes

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>

I hope this helps you

answered Jul 19, 2018 by Kalgi
• 2,620 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

How do I copy a file from docker container to host?

Here is a way which you can ...READ MORE

answered Aug 27, 2018 in Docker by Damon Salvatore
• 5,490 points
1,366 views
0 votes
1 answer

How to move Docker containers from one host to another?

Yes you could definitely do it the ...READ MORE

answered Jul 2 in Docker by Sirajul
• 4,360 points
16 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,100 points

edited Oct 16, 2018 by lina 3,127 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,160 points
95 views
0 votes
1 answer

How to execute docker exec commande inside a docker container ?

If your containers are running on the ...READ MORE

answered Jul 19, 2018 in Docker by Kalgi
• 2,620 points
178 views
0 votes
1 answer

Error “unable to resolve host docker”

This error occurs because its not a ...READ MORE

answered Jul 10, 2018 in Docker by Kalgi
• 2,620 points
215 views