Merge pull request #2554 from aanand/clarify-rm-behaviour

Clarify behaviour of 'rm'
This commit is contained in:
Aanand Prasad 2015-12-18 16:42:05 +00:00
commit 12a08255b5
2 changed files with 10 additions and 0 deletions

View File

@ -344,6 +344,11 @@ class TopLevelCommand(DocoptCommand):
"""
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...]
Options:

View File

@ -20,3 +20,8 @@ Options:
```
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.