Docker Yum installation Error service start error

Source: Internet
Author: User

A similar error occurred while using the Docker container Yum installation:

Transaction Check Error:
file/usr/lib64/libsystemd-daemon.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package Sy Stemd-container-libs-208.20-6.el7.centos.x86_64
file/usr/lib64/libsystemd-id128.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package sys Temd-container-libs-208.20-6.el7.centos.x86_64
file/usr/lib64/libsystemd-journal.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package s Ystemd-container-libs-208.20-6.el7.centos.x86_64
file/usr/lib64/libsystemd-login.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package sys Temd-container-libs-208.20-6.el7.centos.x86_64
File/usr/lib64/libudev.so.1 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package Systemd-cont Ainer-libs-208.20-6.el7.centos.x86_64
File/usr/lib64/security/pam_systemd.so from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package s Ystemd-container-libs-208.20-6.el7.centos.x86_64


This is due to the transition from the systemd-container * package to the actual systemd. For some reason, the upstream package is still in conflict, so you will have an error installing the package. The solution is to get the latest CentOS image. or execute the command:

Yum install-y libsystemd-daemon.so.0 libsystemd-id128.so.0 libsystemd-journal.so.0 libsystemd-login.so.0 libudev.so .1 Systemd-container-libs

Only wish you good luck.


Another thing that happens when you start a service in a Docker container:


Failed to get D-bus connection:operation not permitted


First of all congratulations on using the CENTOS7 image, and then unfortunately tell you that this problem is a bug will be resolved in centos7.2.

What you can do now is to start it in a different way. Or swap with CENTOS6 's image.

Currently, SYSTEMD in CentOS 7 have been removed and replaced with a FAKESYSTEMD package for dependency resolution. This was due to systemd requiring the cap_sys_admin capability, as well as being able to read the host ' s cgroups. If you wish to replace the FAKESYSTEMD package and use systemd normally, please follow the steps below.


This article from "New One" blog, declined reprint!

Docker Yum installation Error service start error

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.