码迷,mamicode.com
首页 > 系统相关 > 详细

Error starting daemon: SELinux is not supported

时间:2019-01-05 17:17:49      阅读:366      评论:0      收藏:0      [点我收藏+]

标签:ESS   ati   engine   you   内核   use   contain   原因   tom   

1月 05 16:45:39 tomcat8 systemd[1]: Starting Docker Application Container Engine... 1月 05 16:45:39 tomcat8 dockerd-current[34843]: time="2019-01-05T16:45:39.623363594+08:00" level=warning msg="could not change group /var/run/docker.sock ...ot found" 1月 05 16:45:39 tomcat8 dockerd-current[34843]: time="2019-01-05T16:45:39.644220095+08:00" level=info msg="libcontainerd: new containerd process, pid: 34848" 1月 05 16:45:42 tomcat8 dockerd-current[34843]: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot...ed=false) 1月 05 16:45:42 tomcat8 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE 1月 05 16:45:42 tomcat8 systemd[1]: Failed to start Docker Application Container Engine. 1月 05 16:45:42 tomcat8 systemd[1]: Unit docker.service entered failed state. 1月 05 16:45:42 tomcat8 systemd[1]: docker.service failed. Hint: Some lines were ellipsized, use -l to show in full.

原因:
linux的内核中的SELinux不支持 overlay2 graph driver

解决办法:
修改配置文件
vi /etc/sysconfig/docker

    原文内容:
Modify these options if you want to change the way the docker daemon runs
OPTIONS=‘--selinux-enabled --log-driver=journald --signature-verification=false‘

    修改后内容

Modify these options if you want to change the way the docker daemon runs
OPTIONS=‘--selinux-enabled=false --log-driver=journald --signature-verification=false‘

重启测试正常

[root@tomcat8 ~]# service docker start           
Redirecting to /bin/systemctl start  docker.service
[root@tomcat8 ~]# 

[root@tomcat8 ~]# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
[root@tomcat8 ~]# 

Error starting daemon: SELinux is not supported

标签:ESS   ati   engine   you   内核   use   contain   原因   tom   

原文地址:http://blog.51cto.com/zhongliang/2339214

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!