mirror of
https://github.com/docker/docs.git
synced 2026-10-31 10:34:26 +03:00
Merge pull request #2554 from aanand/clarify-rm-behaviour
Clarify behaviour of 'rm'
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user