© Ce document utilise Manuel du site Web PHP chinois Libérer
Usage: kill [options] [SERVICE...] Options: -s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL.
运行容器的强制通过发送SIGKILL信号来停止。可以选择传递信号,例如:
SIGKILL
docker-compose kill -s SIGINT