@@ -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: