Skip to content

Commit 55c87b5

Browse files
committed
updated CLI commands to use rm command
1 parent f77ddf3 commit 55c87b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/guides/databases.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ the same Docker network.
256256
Before you begin, you must remove any containers you previously ran for this
257257
guide. To stop and remove a container, either:
258258

259-
- In a terminal, run `docker remove --force my-mysql` to remove the container
259+
- In a terminal, run `docker rm --force my-mysql` to remove the container
260260
named `my-mysql`.
261261
- Or, in the Docker Desktop Dashboard, select the **Delete** icon next to your
262262
container in the **Containers** view.
@@ -311,7 +311,7 @@ CLI or the Docker Desktop GUI.
311311
Before you begin, you must remove any containers you previously ran for this
312312
guide. To stop and remove a container, either:
313313

314-
- In a terminal, run `docker remove --force my-mysql` to remove the container
314+
- In a terminal, run `docker rm --force my-mysql` to remove the container
315315
named `my-mysql`.
316316
- Or, in the Docker Desktop Dashboard, select the **Delete** icon next to your
317317
container in the **Containers** view.
@@ -352,7 +352,7 @@ data persists:
352352
be lost when removing the container.
353353

354354
```console
355-
$ docker remove --force my-mysql
355+
$ docker rm --force my-mysql
356356
```
357357

358358
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.
486486
Before you begin, you must remove any containers you previously ran for this
487487
guide. To stop and remove a container, either:
488488

489-
- In a terminal, run `docker remove --force my-mysql` to remove the container
489+
- In a terminal, run `docker rm --force my-mysql` to remove the container
490490
named `my-mysql`.
491491
- Or, in the Docker Desktop Dashboard, select the **Delete** icon next to your
492492
container in the **Containers** view.

0 commit comments

Comments
 (0)