docker-rm: add page; docker-container-{remove, rm}: add alias pages (#11126)

* docker rm: add page

* docker-rm: update page

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

* docker-rm: update page

* docker-container-{remove,rm}: add alias pages

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Aniket Purohit 2023-10-21 23:00:27 +05:30 committed by GitHub
parent d5e44b5ce7
commit a4a9d5dab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# docker container remove
> This command is an alias of `docker rm`.
> More information: <https://docs.docker.com/engine/reference/commandline/rm>.
- View documentation for the original command:
`tldr docker rm`

View File

@ -0,0 +1,8 @@
# docker container rm
> This command is an alias of `docker rm`.
> More information: <https://docs.docker.com/engine/reference/commandline/rm>.
- View documentation for the original command:
`tldr docker rm`

20
pages/common/docker-rm.md Normal file
View File

@ -0,0 +1,20 @@
# docker rm
> Remove one or more containers.
> More information: <https://docs.docker.com/engine/reference/commandline/rm>.
- Remove containers:
`docker rm {{container1 container2 ...}}`
- Force remove a container:
`docker rm --force {{container1 container2 ...}}`
- Remove a container and its volumes:
`docker rm --volumes {{container}}`
- Display help:
`docker rm`