docker-compose rm [service...]
Removes stopped service containers
Arguments
Name | Description |
---|---|
service |
Options
Name | Description |
---|---|
--all, -a | Deprecated - no effect |
--force, -f | Don't ask to confirm removal |
--stop, -s | Stop the containers, if required, before removing |
--volumes, -v | Remove any anonymous volumes attached to containers |