Change wording to match "docker rm -f" command (#12601)

* Change wording to match "docker rm -f" command

Wording says *stop* when the corresponding command is `docker rm -f`.

* Clarify stop and remove

As the container is still running, this step stops the container and then removes it.

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
This commit is contained in:
Anders Eriksson 2021-04-23 13:01:23 +02:00 committed by GitHub
parent cffa291ecb
commit f6f664f50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ Every time you use the volume, Docker will make sure the correct data is provide
docker volume create todo-db
```
2. Stop the todo app container once again in the Dashboard (or with `docker rm -f <id>`), as it is still running without using the persistent volume.
2. Stop and remove the todo app container once again in the Dashboard (or with `docker rm -f <id>`), as it is still running without using the persistent volume.
3. Start the todo app container, but add the `-v` flag to specify a volume mount. We will use the named volume and mount
it to `/etc/todos`, which will capture all files created at the path.
@ -109,7 +109,7 @@ Every time you use the volume, Docker will make sure the correct data is provide
![Items added to todo list](images/items-added.png){: style="width: 55%; " }
{: .text-center }
5. Remove the container for the todo app. Use the Dashboard or `docker ps` to get the ID and then `docker rm -f <id>` to remove it.
5. Stop and remove the container for the todo app. Use the Dashboard or `docker ps` to get the ID and then `docker rm -f <id>` to remove it.
6. Start a new container using the same command from above.