赞
踩
cat /etc/redhat-release
如果是Alibaba Cloud Linux release 3,请执行以下命令
sudo dnf config-manager --add-repo=https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
sudo dnf -y install dnf-plugin-releasever-adapter --repo alinux3-plus
sudo dnf -y install docker-ce --nobest
sudo docker -v
ok,出现上面内容,说明大功告成!
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl status docker
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。