添加docker-ce的yum源
实际上,添加的这个yum源仍然是el7的
yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
安装依赖包
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
Install Docker Engine
安装docker-ce
yum install docker-ce -y
如果遇到安装软件与之前冲突,可以添加参数–allowerasing进行覆盖安装
yum install docker-ce -y –allowerasing
docker: Error response from daemon: cannot start a stopped process: unknown.-左搜 (leftso.com)
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/243904.html