Docker-compose module: Remove

Remove all services using Docker Compose, based on a Docker Compose configuration file.

Example

Remove stopped all stopped services defined in docker-compose.yaml configuration file:

space -m docker-compose /rm/ -- docker-compose.yaml

Exit status code is expected to be 0 on success.

Edit this page