docker / getting-started

Getting started with Docker
Apache License 2.0
2.91k stars 6.4k forks source link

Persisting our DB - Diving into our volume - shows a unix mountpoint. -- The real windows path would be interesting. #339

Open pmario opened 1 year ago

pmario commented 1 year ago

Thanks for the tutorial!

See: docker volume inspect todo-db

It's nice to answer "Where is my data" question up front. ... But on Windows it doesn't help that much to show "Mountpoint": "/var/lib/docker/volumes/todo-db/_data", ... It may be true, but it is somewhere in the WSL environment.

So for Windows users it would be nice to get the "real" windows path.

pmario commented 1 year ago

hmmm, In the file explorer we can start with \\wsl$ It seems to be: \\wsl.localhost\docker-desktop-data\data\docker\volumes\todo-db\_data