compose/docs/reference/down.md

663 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