Docker Community Forums

Share and learn in the Docker community.

CentOS7: Installation Error: docker-engine-selinux conflicts with 2:container-selinux-1.10.3-59.el7.centos.x86_64

Hello,
I try to install the latest version of docker on my CentOS 7 VM.
When doing yum install docker, I get docker 1.10.3

I followed the steps here https://docs.docker.com/engine/installation/linux/rhel/
but I run into errors with dependencies:

yum -y -q install docker-engine
Error: docker-engine-selinux conflicts with 2:container-selinux-1.10.3-59.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

How can I resolve this problem?

I think your problem is that you have installed centos’ docker packages docker-1.10.3-59.el7.centos.x86_64.rpm (http://mirror.centos.org/centos/7/extras/x86_64/Packages/), please fist try to uninstall docker-1.10.3 and later install docker package created by docker inc.

Thank you.

I was able to install it now.