rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update -y
yum -y install docker-io
service docker start chkconfig docker on
docker pull centos
[root@localhost]# docker pull centos Pulling repository centos fd44297e2ddb: Download complete 6941bfcbbfca: Download complete 41459f052977: Download complete Status: Downloaded newer image for centos:latest
docker run -i -t centos /bin/bash