From f6f664f50d89687ac8818ed32f3c71c330661226 Mon Sep 17 00:00:00 2001 From: Anders Eriksson Date: Fri, 23 Apr 2021 13:01:23 +0200 Subject: [PATCH] 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> --- get-started/05_persisting_data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-started/05_persisting_data.md b/get-started/05_persisting_data.md index 5f0cf905a6..4429ae7b15 100644 --- a/get-started/05_persisting_data.md +++ b/get-started/05_persisting_data.md @@ -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 `), 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 `), 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 ` 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 ` to remove it. 6. Start a new container using the same command from above.