Error starting daemon: SELinux is not supported

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‘

重启测试正常

[[email protected] ~]# service docker start
Redirecting to /bin/systemctl start  docker.service
[[email protected] ~]# 

[[email protected] ~]# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
[[email protected] ~]# 

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

时间: 2024-10-02 07:45:50

Error starting daemon: SELinux is not supported的相关文章

Error starting daemon: SELinux is not support...

docker启动不支持selinux 查看状态报错[[email protected] ~]# systemctl status docker Jul 25 17:48:14 GZ-vm-game-A-228-225 systemd[1]: Starting Docker Application Container Engine...Jul 25 17:48:14 GZ-vm-game-A-228-225 dockerd-current[8197]: time="2018-07-25T17:48

解决 docker 报错: Error starting daemon: error initializing graphdriver: backing file system is unsupported for this graph driver

CentOS 7.5 x64下 sudo yum install docker -y systemctl enable docker systemctl start docker 发现启动失败 journalctl -xe 查询获得报错 Jan 11 22:49:16 localhost.localdomain dockerd-current[29403]: time="2019-01-11T22:49:16.686305029+08:00" level=info msg="

Error: Default interface methods are only supported starting with Android N (--min-api 24): java.io.InputStream org.apache.poi.sl.usermodel.ObjectShape.readObjectData()

项目运行的时候,如果报错 Error: Default interface methods are only supported starting with Android N (--min-api 24): java.io.InputStream org.apache.poi.sl.usermodel.ObjectShape.readObjectData() 解决方案: 在app的build.gradle文件中添加以下代码 apply plugin: 'com.android.applicat

win7下安装matlab后打开出错“error starting desktop”的解决办法

在matlab快捷图标上右键,选择"还原以前的版本"--"兼容性"选项卡,在"以兼容模式运行这个程序"前面打勾,并选择"windows vista",在下面的"特权等级"中,勾选"以管理员身份运行此程序".OK,到这里就解决了.[注意]是用"windows vista"系列的兼容模式,不要用XP兼容模式!   参考自:http://zhidao.baidu.com/l

严重: Error starting static Resources java.lang.IllegalArgumentException:

严重: Error starting static Resources java.lang.IllegalArgumentException: Document base E:\myworkspace\evecomoa\WebRoot does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext... 解决办法: E:\my

【框架】Error:java: Annotation processing is not supported for module cycles.循环依赖

Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [hdd_smart_shiptracker_web,hdd_smart_shiptracker_service_imp] are excluded from annotation processing

Tomcat:Error starting static Resources

近来主要从事JavaWeb的开发,用的是myEclipse+Tomcat,在一次启动Tomcat的过程中,出现这个问题: Error starting static Resources java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.42\webapps\onlinelearning does not exist or is not a readable directory    at org.apac

执行automake时报错 error while making link: Operation not supported

执行automake时报错: [[email protected] project]# automake --add-missingconfigure.in: installing `./install-sh'; error while making link: Operation not supportedconfigure.in: installing `./missing'; error while making link: Operation not supportedMakefile.

python error: curl: (1) Protocol "'https" not supported or disabled in libcurl

python 调用curl访问一个网页时,出现error: curl: (1) Protocol "'https" not supported or disabled in libcurl 控制台直接curl xxx是ok的 output = subprocess.check_output(["curl","https://stackoverflow.com/questions/6884669/curl-1-protocol-https-not-suppo