mirror of
https://github.com/docker/docs.git
synced 2026-03-28 06:49:00 +07:00
* Update docs on command help This is change is based on the output of the script proposed by @smola in: https://github.com/docker/docker.github.io/pull/11173 Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com> * Formatting updates * Minor style update Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
20 lines
479 B
Markdown
20 lines
479 B
Markdown
---
|
|
description: Forces running containers to stop.
|
|
keywords: fig, composition, compose, docker, orchestration, cli, kill
|
|
title: docker-compose kill
|
|
notoc: true
|
|
---
|
|
|
|
```none
|
|
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
|