centos下docker安装
解决docker安装过程报错——Transaction check error: file /usr/bin/docker from install of docker-ce-cli-1:23.0
yum remove docker docker-common docker-selinux docker-engine
docker安装
1.添加yum的docker-ce的repo:
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
2.安装
yum install docker-ce
systemctl start docker