更新文档

This commit is contained in:
Super Manito
2025-09-29 01:58:39 +08:00
parent b17134d5e8
commit 3b19a24576
3 changed files with 9 additions and 9 deletions

View File

@@ -301,14 +301,14 @@ hide:
--branch centos \
--branch-version 9
```
> This option can be used to control the compatibility of the installed software packages (applicable only to Red Hat-based operating systems). For details, refer to the integer representing the version number in the subdirectory of the corresponding repository.
> This option can be used to control the compatibility of the installed software package (only applicable to Red Hat operating systems). For details, see the path name (positive integer) representing the version number in the corresponding warehouse directory.
- #### Specify Docker Engine Installation Version
When specifying a version, the "install latest" option is ignored. Format: `major.minor.patch`, e.g., `27.4.1`.
When specifying a version, the "install latest" option is ignored. Format: `major.minor.patch`, e.g., `28.4.1`.
``` { .bash .no-copy }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 27.0.0
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 28.0.0
```
> If the specified version does not exist or is not supported on your system, the script will report an error and exit.

View File

@@ -317,14 +317,14 @@ hide:
--branch centos \
--branch-version 9
```
> 可以使用该选项来控制安装软件包的兼容性(仅适用于红帽系操作系统),具体详见对应仓库下级目录代表版本号的正整数。
> 可以使用该选项来控制安装软件包的兼容性(仅适用于红帽系操作系统),具体详见对应仓库目录代表版本号的路径名称(正整数
- #### 指定 Docker Engine 安装版本
指定安装版本时会忽略 `是否安装最新版本` 的命令选项,格式为 `主版本.次版本.补丁版本`,例如 `27.4.1`。
指定安装版本时会忽略 `是否安装最新版本` 的命令选项,格式为 `主版本.次版本.补丁版本`,例如 `28.4.1`。
``` { .bash .no-copy }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 27.0.0
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 28.0.0
```
> 如果指定的版本不存在或者不支持当前系统,届时脚本会报错跳出

View File

@@ -301,14 +301,14 @@ hide:
--branch centos \
--branch-version 9
```
> 可以使用此選項來控制安裝軟體套件的容性(僅適用於紅帽係作業系統),具體詳見對應倉庫下級目錄代表版本號的正整數。
> 可以使用此選項來控制安裝軟體套件的容性(僅適用於紅帽係作業系統),具體詳見對應倉庫目錄代表版本號的路徑名稱(正整數
- #### 指定 Docker Engine 安裝版本
指定安裝版本時會忽略 `是否安裝最新版本` 的命令選項,格式為 `主版.次版本.補丁版本`,例如 `27.4.1`。
指定安裝版本時會忽略 `是否安裝最新版本` 的命令選項,格式為 `主版.次版本.補丁版本`,例如 `28.4.1`。
``` { .bash .no-copy }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 27.0.0
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 28.0.0
```
> 如果指定的版本不存在或不支援目前系統,屆時腳本會報錯跳出