1. Disable SELinux
Due to Selinux and LXC (LXC is a shorthand for Linux container. The Linux container container is a kernel virtualization technology that provides lightweight virtualization to isolate processes and resources without the need to provide instruction interpretation mechanisms and other complexities of full virtualization, so you need to disable SELinux. Edit/etc/selinux/config, set two key variables.
Selinux=disabled
selinuxtype=targeted
Second, configure Fedora Epel source
1 sudo yum install http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
Third, add Hop5.repo source
Cd/etc/yum.repos.d
sudo wget Http://www.hop5.in/yum/el6/hop5.repo
Iv. installation of Docker
sudo yum install Docker-io
After the installation is complete, enter docker-h to see if the Docker installation was successful.
Installation of Docker