mirror of
https://github.com/docker/compose.git
synced 2025-05-06 15:40:11 +02:00
- Split out commands into individual pages for maintainability - Add full usage in commands pages for usability - Updated description of the run command - adding in Aanand's comment Signed-off-by: Mary Anthony <mary@docker.com>
23 lines
517 B
Markdown
23 lines
517 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "kill"
|
|
description = "Forces running containers to stop."
|
|
keywords = ["fig, composition, compose, docker, orchestration, cli, kill"]
|
|
[menu.main]
|
|
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:
|
|
|
|
$ docker-compose kill -s SIGINT |