yum install -y yum-utils yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --enable docker-ce-edge yum clean all && yum makecache yum install -y docker-ce.x86_64
yum install -y yum-utils yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --enable docker-ce-edge yum clean all && yum makecache yum install -y docker-ce.x86_64
转载于:https://www.cnblogs.com/guxiaobei/p/7799014.html