docker compose stop

描述停止服务
用法docker compose stop [OPTIONS] [SERVICE...]

描述

停止正在运行的容器,但不将其删除。它们可以通过 docker compose start 再次启动。

选项

选项默认值描述
-t, --timeout指定关机超时时间(秒)
© . This site is unofficial and not affiliated with Kubernetes or Docker Inc.