首页 > 解决方案 > In which folder is data of volumes in Docker Windows stored?

问题描述

I have seen this and this questions. None of them answers my question.

I have checked here: C:\Users\Public\Documents\Hyper-V\Virtual hard disks.

and here: C:\ProgramData as described here,

and I have not seen anything.

My question: When I run docker volume inspect I see that the mount path is /var/lib/docker/volumes where can I access that folder? Is it possible?

Why do I want to know this? I am just trying to understand docker better.

I am using windows 10 and Docker version 19.03.5.

标签: dockerdocker-for-windowsdocker-volumedocker-desktop

解决方案


我以前也遇到过同样的问题。这是我现在找到的,/mnt 下会有一个“wsl”文件夹

在 WSL 中,转到路径:

/mnt/wsl/docker-desktop-data/docker/

你可以找到你所有的图像、容器和卷数据


推荐阅读