更新文档

This commit is contained in:
Super Manito
2025-08-16 03:36:02 +08:00
parent 332f31a7c0
commit 69b601b843
10 changed files with 145 additions and 71 deletions

View File

@@ -217,13 +217,6 @@ hide:
> Full source format: `<WEB protocol>://<source address (domain or IP)>/<repository path>`
- #### Specify Docker CE Source Address
``` { .bash .no-copy }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
```
> Note: The address path must include the Docker CE repository path, i.e., `docker-ce`.
- #### Specify Registry Mirror Address
``` { .bash .no-copy }
@@ -285,6 +278,13 @@ hide:
[[ $(systemctl is-active docker) == "active" ]] && systemctl restart docker || systemctl enable --now docker
```
- #### Specify Docker CE Source Address
``` { .bash .no-copy }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
```
> Note: The address path must include the Docker CE repository path, i.e., `docker-ce`.
- #### Specify Docker CE Repository
The script will automatically detect this in most cases. Specify only if you have special requirements.