/Docker 19

docker-compose kill

Usage: kill [options] [SERVICE...]

    -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

fig, composition, compose, docker, orchestration, cli, kill

© 2019 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.