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
parent
86657b8742
commit
e3c46e3b09
|
@ -44,7 +44,7 @@
|
|||
|
||||
### 如何停止所有正在运行的容器?
|
||||
|
||||
答:可以使用 `docker kill $(docker container ls -q)` 命令。
|
||||
答:可以使用 `docker stop $(docker container ls -q)` 命令。
|
||||
|
||||
### 如何批量清理已经停止的容器?
|
||||
|
||||
|
|
Loading…
Reference in New Issue