Installing docker is very simple:
yum install docker
service docker startNow start the service and enable from boot:
sudo docker run hello-world ; chkconfig docker on
sudo docker run hello-worldYou are looking for the following line to see if it has been installed correctly:
Hello from Docker. This message shows that your installation appears to be working correctly