Update stop cmd

`docker stop` send SIGTERM, and then SIGKILL after grace period,
while `docker kill` send SIGTERM directly,
so `docker stop` is more safe and ensure the integrity of the data.

Signed-off-by: daixiang0 <764524258@qq.com>
pull/380/head
daixiang0 2018-12-13 18:43:55 +08:00
parent 86657b8742
commit e3c46e3b09
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
### 如何停止所有正在运行的容器?
答:可以使用 `docker kill $(docker container ls -q)` 命令。
答:可以使用 `docker stop $(docker container ls -q)` 命令。
### 如何批量清理已经停止的容器?