yum install -y yum-utils
yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo
yum makecache fast
yum -y install docker-ce
systemctl start docker
posted on 2017-04-27 09:59 【张帅】 阅读(167) 评论(0) 编辑 收藏 举报