centos7安装 使用docker指定安装方法即可 https://docs.docker.com/engine/installation/linux/centos/
centos6的安装(我是centos6.5 cat /etc/redhat-release )
1. yum 安装 docker-io
yum install docker-io
2. 启动docker
/etc/init.d/docker start
启动后 发现docker并没有运行 ,执行docker info 发现
docker dead but pid file exists
解决办法 http://stackoverflow.com/questions/27216473/docker-1-3-fails-to-start-on-rhel6-5
3.查看docker情况
docker info
docker version
显示正常 ,说明安装成功