Error starting Daemon:selinux isn't support ...

Source: Internet
Author: User

Docker boot does not support SELinux

View status Error
[Email protected] ~]# systemctl status Docker

Jul 17:48:14 gz-vm-game-a-228-225 systemd[1]: Starting Docker application Container Engine ...
Jul 17:48:14 gz-vm-game-a-228-225 dockerd-current[8197]: time= "2018-07-25t17:48:14.785067570+08:00" LE...D "
Jul 17:48:14 gz-vm-game-a-228-225 dockerd-current[8197]: time= "2018-07-25t17:48:14.786354398+08:00" le ... 8 "
Jul 17:48:16 gz-vm-game-a-228-225 dockerd-current[8197]: Error starting daemon:selinux is not SUPPORT...E)
Jul 17:48:16 gz-vm-game-a-228-225 systemd[1]: Docker.service:main process exited, code=exited, stat ... LURE
Jul 17:48:16 gz-vm-game-a-228-225 systemd[1]: Failed to start Docker application Container Engine.
Jul 17:48:16 gz-vm-game-a-228-225 systemd[1]: Unit Docker.service entered failed state.
Jul 17:48:16 gz-vm-game-a-228-225 systemd[1]: Docker.service failed.
Hint:some lines were ellipsized, use-l to show on full.

Cause: Docker profile does not close SELinux

Workaround:
[Email protected] ~]# Vi/etc/sysconfig/docker

Add =false behind the--selinux-enable

Restart Docker
Systemctl Start Docker

Error starting Daemon:selinux isn't support ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.