Errors during downloading metadata for repository ‘docker-ce-stable‘
·
问题:

(huhao) [huhao@qt-cloudie2 ~]$ sudo yum install docker-ce docker-ce-cli containerd.io
Updating Subscription Management repositories.
Docker CE Stable - x86_64 340 B/s | 383 B 00:01
Errors during downloading metadata for repository 'docker-ce-stable':
- Status code: 404 for https://download.docker.com/linux/fedora/8/x86_64/stable/repodata/repomd.xml (IP: 99.86.194.43)
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
镜像有问题,实验室的服务器系统是fedora
sudo dnf config-manager \
> --add-repo \
> https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf config-manager \
> --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
更多推荐
所有评论(0)