Where is docker image location in Windows 10?

前端 未结 13 1601
慢半拍i
慢半拍i 2020-12-08 09:06

I\' using Windows 10 Home operating system. I have installed Docker toolbox.

I have created docker image of my .net core application by using following command.

<
相关标签:
13条回答
  • 2020-12-08 09:41

    The docker desktop for windows 10 has been moved here:

    c:/users/<user>/AppData/Roaming/Docker/settings.json

    0 讨论(0)
  • 2020-12-08 09:42
    1. By using the docker info command.
    2. In the result - check for Docker Root Dir

    This folder will conatins images, containers, ...

    0 讨论(0)
  • 2020-12-08 09:44

    All the answers have been outdated or incorrect for me, I found it in %AppData%\Local\Docker\wsl

    0 讨论(0)
  • 2020-12-08 09:44

    I was not able to find the location of a WSL based Docker installation. But there is a simple way with docker commands itself to get the image!

    docker image save myimagename -o myimagename.img
    

    This creates you an image file directly.

    0 讨论(0)
  • 2020-12-08 09:44

    I am running on Windows 10 Home Version 2004 with Docker 19.03.8. This has the new WSL back-end - in that configuration, launch a WSL prompt (Win-r then wsl to launch) and my image files are under /mnt/host/wsl/docker-desktop-data/data/docker

    0 讨论(0)
  • 2020-12-08 09:47

    By default it is inside C:\Users\Public\Documents\Hyper-V\Virtual hard disks directory (.vhdx file). It can be changed in Docker's settings > Advanced > Disk image location

    0 讨论(0)
提交回复
热议问题