From 6e478979b7cae914ef70d943b7a2fb85dda5aaa6 Mon Sep 17 00:00:00 2001 From: spicylentils <71917720+spicylentils@users.noreply.github.com> Date: Mon, 28 Sep 2020 13:05:16 -0700 Subject: [PATCH] Update index.md Section, "Diving into our Volume" subsection, "Accessing Volume data directly on Docker Desktop" Save other Docker Desktop for Windows users the same hassle I had of verifying the non-existent volume repository: "Mountpoint": "/var/lib/docker/volumes/todo-db/_data", In WSL2, Docker Desktop for Windows, the repository is located at: \\wsl$\docker-desktop\mnt\host\wsl\docker-desktop-data\data\docker\volumes\todo-db\_data Ref: https://stackoverflow.com/a/63668192/14096774 --- docs/tutorial/persisting-our-data/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tutorial/persisting-our-data/index.md b/docs/tutorial/persisting-our-data/index.md index fcc772c..143371a 100644 --- a/docs/tutorial/persisting-our-data/index.md +++ b/docs/tutorial/persisting-our-data/index.md @@ -147,7 +147,8 @@ need to have root access to access this directory from the host. But, that's whe !!! info "Accessing Volume data directly on Docker Desktop" While running in Docker Desktop, the Docker commands are actually running inside a small VM on your machine. If you wanted to look at the actual contents of the Mountpoint directory, you would need to first get inside - of the VM. + of the VM. In WSL2, Docker Desktop for Windows, the repository is located at: + \\wsl$\docker-desktop\mnt\host\wsl\docker-desktop-data\data\docker\volumes\todo-db\_data ## Recap