mirror of
https://github.com/docker/compose.git
synced 2025-06-26 16:34:28 +02:00
Clarify behaviour of 'rm'
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
bc09698897
commit
2e9a49b4eb
@ -343,6 +343,11 @@ class TopLevelCommand(DocoptCommand):
|
|||||||
"""
|
"""
|
||||||
Remove stopped service containers.
|
Remove stopped service containers.
|
||||||
|
|
||||||
|
By default, volumes attached to containers will not be removed. You can see all
|
||||||
|
volumes with `docker volume ls`.
|
||||||
|
|
||||||
|
Any data which is not in a volume will be lost.
|
||||||
|
|
||||||
Usage: rm [options] [SERVICE...]
|
Usage: rm [options] [SERVICE...]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
@ -20,3 +20,8 @@ Options:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Removes stopped service containers.
|
Removes stopped service containers.
|
||||||
|
|
||||||
|
By default, volumes attached to containers will not be removed. You can see all
|
||||||
|
volumes with `docker volume ls`.
|
||||||
|
|
||||||
|
Any data which is not in a volume will be lost.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user