Docker 脚本指定镜像仓库命令选项新增支持指定多个地址

This commit is contained in:
Super Manito
2025-10-23 05:35:17 +08:00
parent 06bc87f75e
commit 51be34be62
7 changed files with 90 additions and 20 deletions

View File

@@ -648,8 +648,8 @@ Below are some advanced usage examples
``` bash
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
--codename trixie \
--upgrade-software false
--codename trixie \
--upgrade-software false
```
- Disable the backports repository
@@ -678,8 +678,8 @@ Below are some advanced usage examples
``` bash
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
--codename testing \
--upgrade-software false
--codename testing \
--upgrade-software false
```
``` { .bash .no-copy title="If the script can't set the codename, you can manually replace it after running" }

View File

@@ -650,8 +650,8 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
``` bash
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
--codename trixie \
--upgrade-software false
--codename trixie \
--upgrade-software false
```
- 禁用 backports 仓库
@@ -680,8 +680,8 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
``` bash
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
--codename testing \
--upgrade-software false
--codename testing \
--upgrade-software false
```
``` { .bash .no-copy title="若脚本无法实现指定版本代号,你也可以在执行脚本后手动替换" }

View File

@@ -650,8 +650,8 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --help
``` bash
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
--codename trixie \
--upgrade-software false
--codename trixie \
--upgrade-software false
```
- 停用 backports 倉庫
@@ -680,8 +680,8 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --help
``` bash
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
--codename testing \
--upgrade-software false
--codename testing \
--upgrade-software false
```
``` { .bash .no-copy title="如果腳本無法實現指定版本代號,你也可以在執行腳本後手動替換" }