docker常用命令

1、正在运行的容器

docker ps -a -q

2、关闭所有正在运行的容器

docker kill $(docker ps -a -q)

原文地址:https://www.cnblogs.com/wangweiwen/p/5694442.html