Where are docker images and containers stored when we use it with Windows? Where are docker images and containers stored when we use it with Windows? windows windows

Where are docker images and containers stored when we use it with Windows?


Things might have changed with Windows 10 Anniversary Update. I installed Docker from source here (https://master.dockerproject.org/windows/amd64/docker-1.13.0-dev.zip) as described here:

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10

Docker puts all of the images in this folder:

C:\ProgramData\docker\windowsfilter

and all containers in this folder:

C:\ProgramData\docker\containers

An easy way to check is to execute this:

docker info

It should tell you where your files are stored:

Containers: 2 Running: 1 Paused: 0 Stopped: 1Images: 10Server Version: 1.13.0-devStorage Driver: windowsfilter Windows:...Docker Root Dir: C:\ProgramData\dockerDebug Mode (client): falseDebug Mode (server): false...


Enter docker-machine with

docker-machine ssh 

there you should find your containers.

sudo ls /var/lib/docker/containers


After review some post on Stackoverflow and Google. I found this directory :

C:\ProgramData\Microsoft\Windows\Hyper-V

Here you can fin the configuration with the Virtual Machines

C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines

Another important thing is the images are virtualized by the Hyper-V, so the info should be stored here.

C:\Users\Public\Documents\Hyper-V\Virtual hard disks