2015-07-17 02:30:49 +02:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "kill"
|
|
|
|
description = "Forces running containers to stop."
|
|
|
|
keywords = ["fig, composition, compose, docker, orchestration, cli, kill"]
|
|
|
|
[menu.main]
|
2015-07-19 23:39:25 +02:00
|
|
|
identifier="kill.compose"
|
2015-07-17 02:30:49 +02:00
|
|
|
parent = "smn_compose_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# kill
|
|
|
|
|
|
|
|
```
|
|
|
|
Usage: kill [options] [SERVICE...]
|
|
|
|
|
|
|
|
Options:
|
|
|
|
-s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL.
|
|
|
|
```
|
|
|
|
|
|
|
|
Forces running containers to stop by sending a `SIGKILL` signal. Optionally the
|
|
|
|
signal can be passed, for example:
|
|
|
|
|
2015-08-24 21:25:25 +02:00
|
|
|
$ docker-compose kill -s SIGINT
|