此内容还未提供中文版,以下为英文版

docker-compose kill

预计阅读时间: 1 分钟
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
fig, composition, compose, docker, orchestration, cli, kill