container-compose down¶
Stop containers with compose.
Synopsis¶
Options¶
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--profile |
string | Specify a profile to enable. Can be specified multiple times. | ||
--cwd |
path | Host working directory for locating the Compose file | ||
--file |
-f |
path | The path to your Docker Compose file |
Arguments¶
| Argument | Description |
|---|---|
services |
Specify the services to stop |
Examples¶
Stop all services¶
Stop and remove all containers for the current project.
Stop specific services¶
Only stop the web service.