mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 01:08:53 +00:00
Fixed #440 on fedora
Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
This commit is contained in:
parent
e4a68ea7e4
commit
fced7854ee
@ -43,8 +43,8 @@ $ sudo yum install -y yum-utils \
|
|||||||
$ sudo yum-config-manager \
|
$ sudo yum-config-manager \
|
||||||
--add-repo \
|
--add-repo \
|
||||||
https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.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 \
|
# $ sudo yum-config-manager \
|
||||||
|
@ -45,6 +45,7 @@ $ sudo dnf config-manager \
|
|||||||
--add-repo \
|
--add-repo \
|
||||||
https://mirrors.ustc.edu.cn/docker-ce/linux/fedora/docker-ce.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 \
|
# $ sudo dnf config-manager \
|
||||||
|
Loading…
Reference in New Issue
Block a user