1
0
mirror of https://github.com/docker/docs.git synced 2026-10-29 20:39:05 +03:00
Files
docs/compose/reference/kill.md
2019-03-28 20:53:39 +01:00

20 lines
475 B
Markdown

---
description: Forces running containers to stop.
keywords: fig, composition, compose, docker, orchestration, cli, kill
title: docker-compose kill
notoc: true
---
```
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