Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 746 Bytes

compose_kill.md

File metadata and controls

22 lines (14 loc) · 746 Bytes

docker compose kill

Force stop service containers.

Options

Name Type Default Description
--remove-orphans 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