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-orphans | Remove containers for services not defined in the Compose file | |
-s, --signal | SIGKILL | SIGNAL to send to the container |