docker服务相关命令

1.docker启动

systemctl start docker

2.停止docker

systemctl  stop  docker

3.重启docker

systemctl restart docker

4.查看docker服务状态

systemctl status docker

5.设置开机自启docker服务状态

systemctl enable docker

 

posted @ 2021-09-01 17:22  司徒二条  阅读(52)  评论(0编辑  收藏  举报