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
无花果组成组成码头工人编排cli