Search code examples
dockercontainerswindows-server-2016

Where are containers located in the host's file system?


I'm currently experimenting with Docker containers on Windows Server. I've created a number of containers, and I want to see where they are actually saved on the host's file system (like a .vhd file for Hyper-V). Is there a default location I can look, or a way to find that out using Docker CLI?


Solution

  • Other answers suggest the data might be stored in:

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

    or since the Windows 10 Anniversary Update:

    C:\ProgramData\docker\containers
    

    You can find out by entering:

    docker info
    

    Credit to / More info: