Error starting daemon: SELinux is not supported
2019-01-05 16:51
1401 查看
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: b66 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 support...
- SELinux is preventing the ftp daemon from reading users home directories (./home).
- oracle linux run docker error FATA[0001] Error starting daemon: Devices cgroup isn't mounted
- install fms in linux: error: if you have warned ERROR: Your distribution, unknown, is not supported by this
- CentOS7下docker启动报Error starting daemon: Error initializing network controller: could not delete ...v
- linux下rpm安装报错error: Failed dependencies: python-libs(x86-64) = 2.6.6-64.el6 is needed by python-2.6
- Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
- Linux配置zookeeper时:Error contacting service. It is probably not runnin
- Linux下matlab打开出现error starting desktop启动桌面时错误
- LINUX中错误 SELinux is disabled
- linux下运行python3出现TypeError: a bytes-like object is required, not 'str'
- 新部署的linux web服务器error Host ‘*.*.*.*’ is not allowed to connect to this MySQL server
- LINUX中错误 SELinux is disabled
- 转:解决 ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
- linux下启动mysql提示:Timeout error occurred trying to start MySQL Daemon
- docker swarm:Error response from daemon: rpc error: code = Unavailable desc = grpc: the connection is unavailable
- docker 报Error: docker-engine-selinux conflicts with docker-selinux-1.9.1-25.el7.centos.x86_64
- linux sysctl -p 报error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
- Debian Linux Error “Driver 'pcspkr' is already registered, aborting...”
- Linux使用tar解压报错:Error is not recoverable: exiting now