diff --git a/install/centos.md b/install/centos.md index 65a2bf0..cdf8831 100644 --- a/install/centos.md +++ b/install/centos.md @@ -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 \ diff --git a/install/fedora.md b/install/fedora.md index fbc4d04..384dfd6 100644 --- a/install/fedora.md +++ b/install/fedora.md @@ -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 \