container-compose stop¶
Stop running containers without removing them.
Synopsis¶
Options¶
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--file |
-f |
path | The path to your Docker Compose file | |
--profile |
string | Specify a profile to enable. Can be specified multiple times. |
Arguments¶
| Argument | Description |
|---|---|
services |
Specify the services to stop |
Examples¶
Stop all services¶
Stop all running containers for the project.
Stop a specific service¶
Only stop the web service.