docker问题

1、docker命令没有反应

或者

运行“systemctl start docker.service” 报错 '
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.'

运行'docker ps' 报错'
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?'

vi /etc/selinux/config 修改 SELINUX=disabled 重新启动系统即可

 

posted @ 2020-11-22 14:04  wjl910  阅读(47)  评论(0)    收藏  举报