mirror of https://github.com/docker/compose.git
Update rm.md
Receiving this message when using the -a flag : `--all flag is obsolete. This is now the default behavior of `docker-compose rm`, I proposed to mark it in the docs but I don't know which way is the best Signed-off-by: jgsqware <garciagonzalez.julien@gmail.com>
This commit is contained in:
parent
bd7db570bd
commit
4b17aa1b9e
|
@ -616,8 +616,7 @@ class TopLevelCommand(object):
|
||||||
Options:
|
Options:
|
||||||
-f, --force Don't ask to confirm removal
|
-f, --force Don't ask to confirm removal
|
||||||
-v Remove any anonymous volumes attached to containers
|
-v Remove any anonymous volumes attached to containers
|
||||||
-a, --all Obsolete. Also remove one-off containers created by
|
-a, --all Deprecated - no effect.
|
||||||
docker-compose run
|
|
||||||
"""
|
"""
|
||||||
if options.get('--all'):
|
if options.get('--all'):
|
||||||
log.warn(
|
log.warn(
|
||||||
|
|
|
@ -17,8 +17,7 @@ Usage: rm [options] [SERVICE...]
|
||||||
Options:
|
Options:
|
||||||
-f, --force Don't ask to confirm removal
|
-f, --force Don't ask to confirm removal
|
||||||
-v Remove any anonymous volumes attached to containers
|
-v Remove any anonymous volumes attached to containers
|
||||||
-a, --all Also remove one-off containers created by
|
-a, --all Deprecated - no effect.
|
||||||
docker-compose run
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Removes stopped service containers.
|
Removes stopped service containers.
|
||||||
|
|
Loading…
Reference in New Issue