Docker Community Forums

Share and learn in the Docker community.

Where are the docker images saved? [not solved]

(Dockergi) #1

I have created an image and a container on docker but where do I physically find my 135MB image file?

Is my support linux OS the following?

C: \ Users \ MyName \ .docker \ machine \ machines \ default \ disk.vmdk

What is the path that I should use to get my docker image into disk.vmdk?


(Rik) #2

I am not sure what you are trying to achieve, but if you want to move images / containers around between machines this way you could do the following:
start a container with your image

docker run …

export that container

docker export [container_name] -o [outputfile]

This will create a tar file containing the containers file system

Copy the tar file to another host and run the below command

docker import [outputfile] [imagename]:[tag]

This will create an copy of the original image on that host.

Hope this helps

(Dockergi) #3

No, I do not want to do this. Mine is just a curiosity.