mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
663 B
663 B
description, keywords, menu, title
| description | keywords | menu | title | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Removes stopped service containers. |
|
|
rm |
rm
Usage: rm [options] [SERVICE...]
Options:
-f, --force Don't ask to confirm removal
-v Remove any anonymous volumes attached to containers
-a, --all Deprecated - no effect.
Removes stopped service containers.
By default, anonymous volumes attached to containers will not be removed. You
can override this with -v. To list all volumes, use docker volume ls.
Any data which is not in a volume will be lost.