mirror of https://github.com/docker/docs.git
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:
parent
cffa291ecb
commit
f6f664f50d
|
@ -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
|
|||
{: 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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue