Error starting daemon: SELinux is not support...

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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:14.785067570+08:00" le...d"
Jul 25 17:48:14 GZ-vm-game-A-228-225 dockerd-current[8197]: time="2018-07-25T17:48:14.786354398+08:00" le...8"
Jul 25 17:48:16 GZ-vm-game-A-228-225 dockerd-current[8197]: Error starting daemon: SELinux is not support...e)
Jul 25 17:48:16 GZ-vm-game-A-228-225 systemd[1]: docker.service: main process exited, code=exited, stat...LURE
Jul 25 17:48:16 GZ-vm-game-A-228-225 systemd[1]: Failed to start Docker Application Container Engine.
Jul 25 17:48:16 GZ-vm-game-A-228-225 systemd[1]: Unit docker.service entered failed state.
Jul 25 17:48:16 GZ-vm-game-A-228-225 systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

原因:docker配置文件没有关闭selinux

解决方法:
[[email protected] ~]# vi /etc/sysconfig/docker

技术分享图片

在--selinux-enable后面添=false

重启docker
systemctl start docker

以上是关于Error starting daemon: SELinux is not support...的主要内容,如果未能解决你的问题,请参考以下文章

Error starting daemon: SELinux is not support...

Error starting daemon: SELinux is not supported

Error response from daemon: driver failed... Error: failed to start containers...

解决 docker 报错: Error starting daemon: error initializing graphdriver: backing file system is unsuppor

linux下启动mysql提示:Timeout error occurred trying to start MySQL Daemon

adb devices 显示 * daemon not running. starting it now on port 5037 * CreateProcess failure, error 2