在线文档教程
Docker 17
撰写 | Compose

docker-compose结束 | docker-compose stop

docker-compose stop

Usage: stop [options] [SERVICE...] Options: -t, --timeout TIMEOUT Specify a shutdown timeout in seconds (default: 10).

停止运行容器而不删除它们。他们可以重新开始docker-compose start

fig, composition, compose, docker, orchestration, cli, stop