重啟docker的方法
- IT科技
- 關注:2.52W次
產品型號:Thinkpad E15
系統版本:centos8
重啟docker的方法
重啟docker服務
[root@xuegod63 ~]# systemctl restart docker
重啟docker容器
[root@xuegod63 ~]# docker ps
[root@xuegod63 ~]# docker restart 1e6339442def
總結:
1、使用systemctl restart重啟docker服務
2、使用docker restart 容器id 重啟容器
- 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/dianzi/ov0wy.html