docker-compose kill
docker-compose kill
Usage: kill [options] [SERVICE...]
Options:
-s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL.
运行容器的强制通过发送SIGKILL
信号来停止。可以选择传递信号,例如:
docker-compose kill -s SIGINT
fig, composition, compose, docker, orchestration, cli, kill