There is a similiar question already asked in 2020 but not answered yet. So I try asking it again - hopefully with more success ![]()
I am about to get started with docker. I run it on an ubuntu-linux and am working with the getting-started guide.
As mentioned in the persisting topic, the “docker volume inspect” command will show me the real location wth the tag “Mountpoint”.
I’m shown this result:
ulrich@Ubuntu-Services:~$ docker volume inspect todo-db
[
{
"CreatedAt": "2023-06-14T05:41:07Z",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/todo-db/_data",
"Name": "todo-db",
"Options": null,
"Scope": "local"
}
]
But unfortunately, the path mentioned as mountpoint does not exist. Even /var/lib/docker is missing. I think it is somewhere relative to my homedir (“~/…/”/var/lib/docker/volumes/todo-db/_data) but could not find it.