mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-02 07:20:28 +08:00
更新文档
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
```
|
||||
> 如果指定的版本不存在或者不支持当前系统,届时脚本会报错跳出
|
||||
|
||||
|
||||
@@ -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
|
||||
```
|
||||
> 如果指定的版本不存在或不支援目前系統,屆時腳本會報錯跳出
|
||||
|
||||
|
||||
Reference in New Issue
Block a user