Add flag to up/down to remove orphaned containers

Add --remove-orphans to CLI reference docs
Add --remove-orphans to bash completion file
Test orphan warning and remove_orphan option in up

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2016-03-09 17:35:56 -08:00
commit 20c29f7e47
6 changed files with 105 additions and 22 deletions

View file

@ -32,6 +32,8 @@ Options:
-t, --timeout TIMEOUT Use this timeout in seconds for container shutdown
when attached or when containers are already
running. (default: 10)
--remove-orphans Remove containers for services not defined in
the Compose file
```