Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.31 KB

File metadata and controls

40 lines (29 loc) · 1.31 KB
source_url revision status license datafolder datafile title aliases layout
1601ead7bcb831dafe5ea0d675581df8b89917ab
untranslated
compose-cli
docker_compose_kill
docker compose kill
/compose/reference/kill/
/engine/reference/commandline/compose_kill/
cli

docker compose kill

Forces running containers to stop by sending a SIGKILL signal. Optionally the signal can be passed, for example:

$ docker compose kill -s SIGINT

Options

Name Type Default Description
--dry-run bool Execute command in dry run mode
--remove-orphans bool Remove containers for services not defined in the Compose file
-s, --signal string SIGKILL SIGNAL to send to the container

Description

Forces running containers to stop by sending a SIGKILL signal. Optionally the signal can be passed, for example:

$ docker compose kill -s SIGINT