I have tried to install Docker CE in my system and it ends with some problem.
I did the below steps:
- sudo yum install -y yum-utils – No error
- sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo - No error
- sudo yum makecache fast – No error
- sudo yum -y install docker-ce – Failed with error
Error: Package: docker-ce-17.06.0.ce-1.el7.centos.x86_64 (docker-ce-stable) Requires: container-selinux >= 2.9
yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
Error: Package: docker-ce-17.06.0.ce-1.el7.centos.x86_64 (docker-ce-stable) Requires: container-selinux >= 2.9 You could try using --skip-broken to work around the problem
Can someone please help me in this?
curl -SsL https://get.docker.com | sh
and see if it works – Tarun Lalwanicontainer-selinux
. do you have older version installed on our machine. runrpm -qa |grep container-selinux
command see the output – sfgroups