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

Error starting daemon: SELinux is not support...

时间:2018-07-25 18:17:45      阅读:220      评论:0      收藏:0      [点我收藏+]

标签:ror   F12   RoCE   current   system   sha   enter   conf   col   

docker启动不支持selinux

查看状态报错
[root@GZ-vm-game-A-228-225 ~]# 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

解决方法:
[root@GZ-vm-game-A-228-225 ~]# vi /etc/sysconfig/docker

技术分享图片

在--selinux-enable后面添=false

重启docker
systemctl start docker

Error starting daemon: SELinux is not support...

标签:ror   F12   RoCE   current   system   sha   enter   conf   col   

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

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