Cannot install docker in a RHEL server
Building on top of @user3495504's answer, what we did to fix the problem was adding an entry on top of the file /etc/yum.repos.d/docker-ce.repo
, with this content:
[centos-extras]
name=Centos extras - $basearch
baseurl=http://mirror.centos.org/centos/7/extras/x86_64
enabled=1
gpgcheck=1
gpgkey=http://centos.org/keys/RPM-GPG-KEY-CentOS-7
Then the installation command:
yum -y install slirp4netns fuse-overlayfs container-selinux
was successful.
[Edit]
- enabled gpgcheck
Docker CE on RHEL - Requires: container-selinux = 2.9
The container-selinux
package is available from the rhel-7-server-extras-rpms
channel. You can enable it using:
subscription-manager repos --enable=rhel-7-server-extras-rpms
Sources for the package have been exported to git.centos.org
, too, so you could rebuild it yourself using mock
:
- https://git.centos.org/summary/rpms!container-selinux.git
(This is not a programming question, so you should use one of the other sites.)
Related Topics
The Return Code from 'Grep' Is Not as Expected on Linux
Setting Limit to Total Physical Memory Available in Linux
Xdotool Commands Bound to Key Shortcuts Doesnot Work
In Order to Write Pci Ethernet Driver. How to Implement Mmap in the Pci Ethernet Driver
Find All Storage Devices Attached to a Linux MAChine
Timed Out While Waiting for the MAChine to Boot When Vagrant Up
How to Send List of File in a Folder to a Txt File in Linux
Reliability of Linux Kernel Add_Timer at Resolution of One Jiffy
Why Does C99 Complain About Storage Sizes
Extract Tar the Tar.Bz2 File Error
Android Studio 2.3 Using Emulator from Console, "/Dev/Kvm Device: Permission Denied" for Root User
Capturing Performance with Pcap VS Raw Socket
The Irq in Kernel Function Asm_Do_Irq() Is Different from the One I Request in Module
Postgresql Database Default Location on Linux
How to Runtime Debug Shared Libraries
Location of .Bashrc for "Bash on Ubuntu on Windows" in Windows 10