目前,我正在尝试学习docker,但对于数据量实际存在的位置感到困惑。
我正在使用Windows的Docker Desktop。(Windows 10)
他们在文档中说,在对象上运行docker inspect将为您提供源:https : //docs.docker.com/engine/tutorials/dockervolumes/#locating-a-volume
$ docker inspect web
"Mounts": [
{
"Name": "fac362...80535",
"Source": "/var/lib/docker/volumes/fac362...80535/_data",
"Destination": "/webapp",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
]
但是我没有看到,我得到以下信息:
$ docker inspect blog_postgres-data
[
{
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/blog_postgres-data/_data",
"Name": "blog_postgres-data",
"Options": {},
"Scope": "local"
}
]
谁能帮我?我只想知道我的数据量实际存在于何处?如果是这样,我该怎么走呢?