docker - 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.
解决方案
我以前也遇到过同样的问题。这是我现在找到的,/mnt 下会有一个“wsl”文件夹
在 WSL 中,转到路径:
/mnt/wsl/docker-desktop-data/docker/
你可以找到你所有的图像、容器和卷数据
推荐阅读
- python - 从 KB 转换为位
- database - 如果我在最低支持中得到十进制值,我该怎么办?
- python - 未描述Flasgger标头参数
- google-chrome - 如何在 Chrome 上禁用此功能
- python - 循环列表以计算每对元素的出现次数(在子列表中)
- vue.js - 无法使用已安装的 Vuetify - 在 40% 编译时中断
- git - 在我的新分支上运行 `git merge` 出现问题
- python - 使用 Python 抓取网页而不加载整个页面
- typescript - 如果类型定义已经在 package.json 中,为什么我必须在 tsconfig.json 中指定类型
- php - 通过在运行 SQL 查询时显示错误来将内部联接与组一起使用