From 55c87b5674f8adbcc4b822103fa11817aa304ff0 Mon Sep 17 00:00:00 2001 From: sharkipelago Date: Sun, 17 Aug 2025 05:23:22 -0400 Subject: [PATCH] updated CLI commands to use rm command --- content/guides/databases.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/guides/databases.md b/content/guides/databases.md index 2ed465343d30..5c90b3188473 100644 --- a/content/guides/databases.md +++ b/content/guides/databases.md @@ -256,7 +256,7 @@ the same Docker network. Before you begin, you must remove any containers you previously ran for this guide. To stop and remove a container, either: -- In a terminal, run `docker remove --force my-mysql` to remove the container +- In a terminal, run `docker rm --force my-mysql` to remove the container named `my-mysql`. - Or, in the Docker Desktop Dashboard, select the **Delete** icon next to your container in the **Containers** view. @@ -311,7 +311,7 @@ CLI or the Docker Desktop GUI. Before you begin, you must remove any containers you previously ran for this guide. To stop and remove a container, either: -- In a terminal, run `docker remove --force my-mysql` to remove the container +- In a terminal, run `docker rm --force my-mysql` to remove the container named `my-mysql`. - Or, in the Docker Desktop Dashboard, select the **Delete** icon next to your container in the **Containers** view. @@ -352,7 +352,7 @@ data persists: be lost when removing the container. ```console - $ docker remove --force my-mysql + $ docker rm --force my-mysql ``` 4. Start a new container with the volume attached. This time, you don't need to @@ -486,7 +486,7 @@ run a custom MySQL image that includes a table initialization script. Before you begin, you must remove any containers you previously ran for this guide. To stop and remove a container, either: -- In a terminal, run `docker remove --force my-mysql` to remove the container +- In a terminal, run `docker rm --force my-mysql` to remove the container named `my-mysql`. - Or, in the Docker Desktop Dashboard, select the **Delete** icon next to your container in the **Containers** view.