Skip to content

Commit 432ecfe

Browse files
authored
updated CLI commands to use rm command (#23257)
<!--Delete sections as needed --> ## Updated guides/databases.md to consistently use `docker rm --force my-sql` in the guide instead of sometimes using `docker remove --force my-mysql` <!-- Tell us what you did and why --> ## Updated for consistency so all commands use `rm` also I think `remove` is not a valid docker command? <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 3c3bd8f commit 432ecfe

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)