docker常用命令

1、正在运行的容器

docker ps -a -q

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

docker kill $(docker ps -a -q)

posted @ 2016-07-22 11:04  Thomas_188  阅读(108)  评论(0编辑  收藏  举报