parent
e4a68ea7e4
commit
fced7854ee
|
@ -43,8 +43,8 @@ $ sudo yum install -y yum-utils \
|
|||
$ sudo yum-config-manager \
|
||||
--add-repo \
|
||||
https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repo
|
||||
$ sudo sed -i 's/download.docker.com/mirrors.ustc.edu.cn\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo
|
||||
|
||||
$ sudo sed -i 's/download.docker.com/mirrors.ustc.edu.cn\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo
|
||||
|
||||
# 官方源
|
||||
# $ sudo yum-config-manager \
|
||||
|
|
|
@ -45,6 +45,7 @@ $ sudo dnf config-manager \
|
|||
--add-repo \
|
||||
https://mirrors.ustc.edu.cn/docker-ce/linux/fedora/docker-ce.repo
|
||||
|
||||
$ sudo sed -i 's/download.docker.com/mirrors.ustc.edu.cn\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo
|
||||
|
||||
# 官方源
|
||||
# $ sudo dnf config-manager \
|
||||
|
|
Loading…
Reference in New Issue