sudo yum update 更新系统环境
curl -sSL https://get.docker.com/ | sh 安装最新docker版本
systemctl start docker.service 启动DOCKER
systemctl enable docker.service 开机自启动DOCKERdocker version 查看docker版本docker info 查看DOCKER信息sudo service docker status 查看DOCKER状态 docker exec -it 40c330755e61 /bin/bash 安装rancher docker pull rancher/server:v0.61.0-rc3docker pull rancher/agent:v0.10.0docker pull rancher/agent-instance:v0.8.0docker pull centos:7.2.1511yum -y update && yum -y upgrade
yum clean alldocker run -d --restart=always -v /data/rancher_server:/var/lib/mysql -p 8080:8080 rancher/server