From 87a885583f021139b97374b5043dba0309f8652b Mon Sep 17 00:00:00 2001 From: Jeff Fox Date: Sun, 5 Sep 2021 13:10:42 +0800 Subject: [PATCH] Using Bind Mounts --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a450e79..bb69d2b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ docker tag getting-started YOUR-USER-NAME/getting-started docker push YOUR-USER-NAME/getting-started ``` -### Persisting our Todo Data +## Persisting our Todo Data - Create a volume by using the docker volume create command. @@ -68,7 +68,7 @@ docker volume create todo-db docker run -dp 3000:3000 -v todo-db:/etc/todos getting-started ``` -### Diving into our Volume +## Diving into our Volume A lot of people frequently ask "Where is Docker actually storing my data when I use a named volume?" If you want to know, you can use the docker volume inspect command. @@ -89,7 +89,7 @@ docker volume inspect todo-db The Mountpoint is the actual location on the disk where the data is stored. Note that on most machines, you will need to have root access to access this directory from the host. But, that's where it is! -### Starting a Dev-Mode Container +## Starting a Dev-Mode Container To run our container to support a development workflow, we will do the following: -- GitLab