Docker Community Forums

Share and learn in the Docker community.

Unable to install docker 1.10 on RHEL 7.1

While using “yum install docker-engine”, I am getting below error -

Error: Package: docker-engine-1.10.0-1.el7.centos.x86_64 (docker-main-repo)
Requires: libsystemd.so.0()(64bit)
Error: Package: docker-engine-1.10.0-1.el7.centos.x86_64 (docker-main-repo)
Requires: libdevmapper.so.1.02(DM_1_02_97)(64bit)
Error: Package: docker-engine-1.10.0-1.el7.centos.x86_64 (docker-main-repo)
Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I am unable to find any way to resolve these dependencies.Please look into it

1 Like

I am running into the same issue

I am also running into this issue :weary:

Hi All,
could you try to update the RHEL version from 7.1 to 7.2? In the centOS ecosystem to install docker-engine 1.10 i updated some packages from 7.2.1511 repository.

Marcello

Hi All,

I have landed into the same problem.


My RHEL version is :
NAME="Red Hat Enterprise Linux Server"
VERSION="7.0 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.0"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.0 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.0:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL=“https://bugzilla.redhat.com/

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.0
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION=7.0
Red Hat Enterprise Linux Server release 7.0 (Maipo)
Red Hat Enterprise Linux Server release 7.0 (Maipo)

Can someone please confirm if RHEL 7.2 can solve this problem?

Thanks,
Amit

Yes, you should update to RHEL 7.2 systemd libraries.

Hi

I’m using RHEL 7.2
I’m still facing issue in docker installation.

Can some please help?

[root@scsor0003442001 yum.repos.d]# sudo yum install docker-engine
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
–> Running transaction check
—> Package docker-engine.x86_64 0:1.11.1-1.el7.centos will be installed
–> Processing Dependency: docker-engine-selinux >= 1.11.1-1.el7.centos for package: docker-engine-1.11.1-1.el7.centos.x86_64
–> Processing Dependency: libltdl.so.7()(64bit) for package: docker-engine-1.11.1-1.el7.centos.x86_64
–> Running transaction check
—> Package docker-engine.x86_64 0:1.11.1-1.el7.centos will be installed
–> Processing Dependency: libltdl.so.7()(64bit) for package: docker-engine-1.11.1-1.el7.centos.x86_64
—> Package docker-engine-selinux.noarch 0:1.11.1-1.el7.centos will be installed
–> Processing Dependency: policycoreutils-python for package: docker-engine-selinux-1.11.1-1.el7.centos.noarch
–> Finished Dependency Resolution
Error: Package: docker-engine-1.11.1-1.el7.centos.x86_64 (docker-main-repo)
Requires: libltdl.so.7()(64bit)
Error: Package: docker-engine-selinux-1.11.1-1.el7.centos.noarch (docker-main-repo)
Requires: policycoreutils-python
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@scsor0003442001 yum.repos.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@scsor0003442001 yum.repos.d]#

Hi people!

Reopen the topic…

I’m using the Red Hat Enterprise Linux Server release 7.2 (Maipo) without register.

I want test the docker, but i’m getting the same problem.

Someone already found the cause and can help us in this problem?

Thank you,

Hi. I install the package from fedora repo.

  1. Create repo file in /etc/yum.repos.d/fedora25.repo

  2. Paste this content.

[fedora]
name=Fedora 25
mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-25&arch=$basearch
enabled=1
gpgcheck=0

  1. run in shell

yum install -y docker-engine

  1. Disable fedora repo. Remove file /etc/yum.repos.d/fedora25.repo or edit line
    enabled=0

I just follow the guide available at https://docs.docker.com/engine/installation/linux/rhel/ and the installation succeeds.

see https://github.com/docker/docker/issues/20484
add centos repository fixed under RHEL7.2.