© 本文档使用 php.cn手册 发布
Usage: kill [options] [SERVICE...] Options: -s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL.
运行容器的强制通过发送SIGKILL信号来停止。可以选择传递信号,例如:
SIGKILL
docker-compose kill -s SIGINT