# 重启所有容器
docker restart $(docker ps -a -q)
# 重启所有运行中的容器
docker restart $(docker ps -q)
01-08
09-30
2888
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-27
583
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-10
2193
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-16
332
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)