1. After loading a good centos in the VM, update the kernel
A kernel version of 3.8 or higher is required to run Docker, and the kernel must support a suitable storage driver (Drivice Mapper, AUFS, VFS, Btrfs, ZFS), and the default storage driver is Drivice Mapper or Aufs and the kernel must turn on cgroup and NAMESPCE functions.
Uname-r can view the kernel version.
Kernel upgrade
2. Installing Docker
Installing Docker
Yum-y Install Docker-io
Start Docker
Service Docker start
Boot up
Chkconfig--add--level 245 Docker
Service Docker status appears if Docker dead but Subsys locked executes
Rm/var/run/docker.*
Rm/var/lock/subsys/docker rm-rf/var/lib/docker/* rpm manual Download install yum install https://GET.DOCKER.COM/RPM/1.7.1/ centos-6/rpms/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm service Docker start
Installing Docker under Linux CentOS