Skip to content

Docker for Centos - Install Instructions Causing Conflicts #20

Closed
@kristiehoward

Description

@kristiehoward

https://docs.docker.com/engine/installation/linux/centos/#install-using-the-repository

Expected behavior

No error with sudo yum install docker-ce

Actual behavior

[docker@swarm-test-centos7002-E2E-50D1D7-linux-1 ~]$ sudo yum install docker-ce
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.sesp.northwestern.edu
 * extras: mirror.web-ster.com
 * updates: mirror.web-ster.com
Resolving Dependencies
--> Running transaction check
---> Package docker-ce.x86_64 0:17.06.0.ce-0.3.rc3.el7.centos will be installed
--> Processing Dependency: container-selinux >= 2.9 for package: docker-ce-17.06.0.ce-0.3.rc3.el7.centos.x86_64
--> Running transaction check
---> Package container-selinux.noarch 2:2.12-2.gite7096ce.el7 will be installed
--> Processing Conflict: docker-engine-selinux-1.13.1.cs3-1.el7.centos.noarch conflicts docker-selinux
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package docker-ce-selinux.noarch 0:17.05.0.ce-0.3.rc3.el7.centos will be obsoleting
---> Package docker-engine-selinux.noarch 0:1.13.1.cs3-1.el7.centos will be obsoleted
--> Processing Conflict: docker-ce-selinux-17.05.0.ce-0.3.rc3.el7.centos.noarch conflicts docker-selinux
--> Finished Dependency Resolution
Error: docker-ce-selinux conflicts with 2:container-selinux-2.12-2.gite7096ce.el7.noarch
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Information

[docker@swarm-test-centos7002-E2E-50D1D7-linux-1 ~]$ sudo yum list | grep docker-ce
docker-ce.x86_64                         17.06.0.ce-0.3.rc3.el7.centos docker-ce-test
docker-ce-selinux.noarch                 17.05.0.ce-0.3.rc3.el7.centos docker-ce-test
[docker@swarm-test-centos7002-E2E-50D1D7-linux-1 ~]$ uname -a
Linux swarm-test-centos7002-E2E-50D1D7-linux-1 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[docker@swarm-test-centos7002-E2E-50D1D7-linux-1 ~]$ cat /etc/*release
CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

Steps to reproduce the behavior

Follow instructions to install docker on centos 7

https://docs.docker.com/engine/installation/linux/centos/#install-using-the-repository

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions