Docker has strict requirements for installing the kernel version of the system, which is explained in Oracle Linux 6.5, and other systems are described in the following:
https://docs.docker.com/v1.5/installation/
Here's a quote from the official website that only comes out of Docker's requirements for installation on Oracle Linux systems:
Docker requires the use of the unbreakable Enterprise Kernel Release 3 (3.8.13) or higher on Oracle Linux. This kernel supports the Docker Btrfs storage engine on both Oracle Linux 6 and 7.
Make sure you are connected at the time of installation. The installation steps are as follows:
1. Update the class Yum configuration (see: http://public-yum.oracle.com/getting-started.html):
# CD/ETC/YUM.REPOS.D
# wget Http://yum.oracle.com/public-yum-ol6.repo
2. Modify/etc/yum.repos.d/public-yum-ol6.repo to add the following configuration:
[Public_ol6_addons]name=Oracle Linux $releasever addons ($basearch) BaseURL=http:// public-yum.oracle.com/repo/oraclelinux/ol6/addons/$basearch/gpgkey=http:// PUBLIC-YUM.ORACLE.COM/RPM-GPG-KEY-ORACLE-OL6gpgcheck=1enabled=1
3. Install Docker:
Yum Install Docker
4. When the installation is complete, start Docker (see: https://docs.docker.com/v1.5/installation/oracle/):
Service Docker start
5. If you want to customize some of the boot configurations for Docker, see:
https://docs.docker.com/v1.5/articles/systemd/
Oracle Linux 6 docker installation (including compiling git source code)