Joffrey F 20c29f7e47 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>
2016-03-15 16:11:49 -07:00

790 B

down

Stop containers and remove containers, networks, volumes, and images
created by `up`. Only containers and networks are removed by default.

Usage: down [options]

Options:
    --rmi type          Remove images, type may be one of: 'all' to remove
                        all images, or 'local' to remove only images that
                        don't have an custom name set by the `image` field
    -v, --volumes       Remove data volumes

    --remove-orphans    Remove containers for services not defined in the
                        Compose file