CmdID

CmdID / Commands

docker-compose-stop

Stop running containers without removing them. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Stop all running services

docker compose stopIdentify

Stop specific services

docker compose stop service_1 service_2 ...Identify

Stop with a custom shutdown timeout in seconds

docker compose stop --timeout secondsIdentify
--timeoutSpecify a shutdown timeout in seconds Docker Compose reference

Stop services defined in a specific compose file

docker compose --file path/to/compose_file stopIdentify
--fileCompose configuration files Docker Compose reference

Simulate running the operations without executing

docker compose stop --dry-runIdentify
--dry-runExecute command in dry run mode Docker Compose reference

Stop specific services with a custom timeout

docker compose stop --timeout seconds service_1 service_2 ...Identify
--timeoutSpecify a shutdown timeout in seconds Docker Compose reference