Install Docker Redhat 6

  • Install / Initial Config
  • NTP / SSH Server
  • DNS / DHCP Server
  • Storage Server
  • Virtualization
  • Cloud Compute
  • Directory Server
  • WEB Server
  • Database
  • MAIL Server
  • FTP / Samba Server
  • Proxy / Load Balancer
  • Monitoring
  • Desktop Env
  • Others #1
    • Cups - Print Server
    • Bacula - Backup
    • Pacemaker - HA Cluster
    • Zimbra - Groupware
    • Subversion - Revision Control
    • Gitolite - Revision Control
    • Ruby - Ruby Environmen
    • JAVA - JAVA Environmen
    • Node.js - Jaja Script Env
    • PHP - PHP Environmen
    • Python - Python Environm
    • Ansible - Config Manage
    • Puppet - Config Manage
    • Func - System Manage
    • Spacewalk - System Manage
    • oVirt - VM Manage
    • LVM - LVM Operation
    • PXE - PXE Server
    • OpenVPN - VPN Server
    • Rsyslog - Syslog Server
    • Auditd - System Audit
    • SELinux - Access Control
    • iptables - Packet Filter
  • Others #2
  1. Create a user with SUDO Access as suggested in Red-Hat Docs (Link1 speaks well on this process). For instance I created an user as docker with group as docker. Groupadd docker useradd -m -g docker docker Add docker repository for installing latest copy of Docker for RHEL/Centos 6.
  2. RHEL8 does not support Docker CE by default. The following information provides a workaround to install compatible Docker CE on RHEL8. Install Docker CE and Docker compose on RHEL 8. To install Docker CE and Docker compose on RHEL 8: Add the external repository by running the following command. Sudo dnf config-manager -add-repo=https.

The latest release of the RHEL 8 / CentOS 8. Red Hat has built its own tools, buildah and podman, which aim to be compatible with existing docker images and work without relying on a daemon, allowing the creation of containers as normal users, without the need of special permissions (with some limitations: e.g. At the moment of writing, it’s still not possible to map host ports to the.

The docker container was first fully supported by RHEL since the recent CentOS 7.0, which officially runs only on 64-bit architecture platforms with kernel versions 2.6.32-431 and above (i.e>=CentOS 6.5, when running docker, the actual prompt is 3.8.0 and above), please refer to CentOS 6.x kernel upgrade (2.6.32 -)>3.10.58) process records

It is important to note that the installation of CentOS 6.5 is slightly different from that of 7.0. The installation package of docker on CentOS-6 is called docker-io and comes from the Fedora epel library. This warehouse maintains a large number of software not included in the distribution, so you should install EPEL first. The docker of CentOS-7 is directly contained in the Extras repository of the official mirror source (enable=1 enabled under section [extras] of CentOS-Base.repo). The premise is the need to network, the specific installation process is as follows.

Install docker red hat 64-bit

1. Disable selinux

2. Install Fedora EPEL

The epel-release-6-8.noarch.rpm package comes with the distribution media and can be installed from rpm.

If a GPG key retrieval failed: [14] Errno Could not open/read file: / / / etc pki/rpm - gpg/RPM - GPG - KEY - EPEL - 6 questions, please install epel online, download RPM - GPG - KEY - EPEL - 6 files.


After this step 1, can be in/etc/yum repos. d/next generation epel repo, epel - testing. repo two files, used for download rpm package from Fedora website.

3. Check the kernel version

Looking at the lowest version of the kernel, it actually works fine and you can upgrade to the 3.10.x version.

You can also run the script check-config.sh to check that the kernel module characters do not match (here are some of missing's, but my docker still starts properly) :

If you are compiling your own kernel, be aware of a few must-have features: DM_THIN_PROVISIONING, IP_NF_TARGET_MASQUERADE, NF_NAT. (there is no corresponding option for AUFS_FS, it is not clear what is going on, but it is not required)

4. Install docker - io

With many documents covered here, the next step is to mount the /cgroup file system. My version of docker is 1.1.2, without modifying the /etc/fstab step.

5. Start the trial run

Abnormal 6.

During my first installation, I unfortunately encountered the following problems:

Redhat 6 Download

docker-d startup, or tail-f /var/log/docker view log

Install Docker Red Hat 6.0


Install Docker Red Hat 6

Or service docker restart

Install Docker On Redhat 6.10

Unable to enable network bridge NAT: iptables failed: iptables -I POSTROUTING -t nat -s ! -d -j MASQUERADE: iptables v1.4.7: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Install Docker Red Hat 64

The above three exceptions are all due to the lack of kernel modules, which is also the risk of compiling the kernel to upgrade, so you have sciurus's kernel-ml-aufs's rpm package (see the first link for reference).

  • Most Viewed News

    • Install Docker On Google Colab
    • Install Microsoft Remote Desktop Mac Without App Store
    • Install Macos On Dell Laptop
    • Macbook Install Font