docker compose kill

内容説明Force stop service containers
利用方法docker compose kill [OPTIONS] [SERVICE...]

内容説明

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

$ docker compose kill -s SIGINT

オプション

オプションデフォルト内容説明
--remove-orphansRemove containers for services not defined in the Compose file
-s, --signalSIGKILLSIGNAL to send to the container