fix: 更新脚本下载链接至新的路径

This commit is contained in:
2025-04-13 11:55:53 +08:00
parent 14e858fbbb
commit 39a0305d20
9 changed files with 33 additions and 33 deletions

View File

@@ -16,13 +16,13 @@ Docker 提供了一个自动配置与安装的脚本,支持 Debian、RHEL、SU
使用 curl
```bash
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/install.sh | sh
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/install.sh | sh
```
使用 wget
```bash
wget -O- https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/install.sh | sh
wget -O- https://git.sugarscat.cn/me/script/-/raw/main/docker/install/install.sh | sh
```
## Debian/Ubuntu/Raspbian
@@ -48,7 +48,7 @@ apt-get install ca-certificates curl gnupg
```bash
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian \
@@ -60,7 +60,7 @@ echo \
```bash
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu \
@@ -72,7 +72,7 @@ echo \
```bash
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/raspbian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install/raspbian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/raspbian \
@@ -108,7 +108,7 @@ dnf remove docker \
```bash
dnf -y install dnf-plugins-core
dnf config-manager --add-repo https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/fedora/docker-ce.repo
dnf config-manager --add-repo https://git.sugarscat.cn/me/script/-/raw/main/docker/install/fedora/docker-ce.repo
sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
```
@@ -137,7 +137,7 @@ yum remove docker \
```bash
yum install -y yum-utils
yum-config-manager --add-repo https://git.sugarscat.cn/me/bash/-/raw/main/docker/install/centos/docker-ce.repo
yum-config-manager --add-repo https://git.sugarscat.cn/me/script/-/raw/main/docker/install/centos/docker-ce.repo
sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
```