I managed to find the containers under directory /var/lib/docker/containers
, but I can't find the images.
What are the directories and files under /var/lib/docker
?
I managed to find the containers under directory /var/lib/docker/containers
, but I can't find the images.
What are the directories and files under /var/lib/docker
?
Actually, Docker images are stored in two files as shown by following command
If you are using Docker for MAC (not
boot2docker
) then the location is/Users/<</>UserName></>/Library/Containers/com.docker.docker/Data/
I use the boot2docker for Docker on Mac OSX, so the images is stored into the
/Users/<USERNAME>/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vmdk
.Expanding on Tristan's answer, in Windows with Hyper-V you can move the image with these steps from matthuisman:
In Docker for Windows (native Windows) the default container storage is at:
On the newly released 'Docker for Windows', which uses Hyper-V, data is located in the Docker virtual hard disk:
You can also open the 'Hyper-V Manager' for access to the Docker / MobyLinuxVM.