更新文档

This commit is contained in:
Super Manito
2025-09-29 01:53:16 +08:00
parent 46075bd0b2
commit b17134d5e8
14 changed files with 95 additions and 24 deletions

View File

@@ -296,6 +296,13 @@ hide:
> Repository names are fixed: `centos`, `debian`, `fedora`, `raspbian`, `rhel`, `sles`, `static`, `ubuntu`
> See [official installation docs](https://docs.docker.com/engine/install) and [Docker CE official repo](https://download.docker.com/linux) for details.
``` { .bash .no-copy title="Can also specify the repository version number." }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
--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.
- #### Specify Docker Engine Installation Version
When specifying a version, the "install latest" option is ignored. Format: `major.minor.patch`, e.g., `27.4.1`.

View File

@@ -312,6 +312,13 @@ hide:
> 仓库名是固定的,目前只有 `centos` `debian` `fedora` `raspbian` `rhel` `sles` `static` `ubuntu` 这几个
> 具体详见 [官方安装文档](https://docs.docker.com/engine/install) 和 [Docker CE 官方仓库](https://download.docker.com/linux)
``` { .bash .no-copy title="还可以指定仓库版本号" }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
--branch centos \
--branch-version 9
```
> 可以使用该选项来控制安装软件包的兼容性(仅适用于红帽系操作系统),具体详见对应仓库下级目录的代表版本号的正整数。
- #### 指定 Docker Engine 安装版本
指定安装版本时会忽略 `是否安装最新版本` 的命令选项,格式为 `主版本.次版本.补丁版本`,例如 `27.4.1`。

View File

@@ -296,6 +296,13 @@ hide:
> 倉庫名稱是固定的,目前只有 `centos` `debian` `fedora` `raspbian` `rhel` `sles` `static` `ubuntu` 這幾個
> 詳情請見 [官方安裝文檔](https://docs.docker.com/engine/install) 及 [Docker CE 官方倉庫](https://download.docker.com/linux)
``` { .bash .no-copy title="还可以指定倉庫版本號" }
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
--branch centos \
--branch-version 9
```
> 可以使用此選項來控制安裝軟體套件的兼容性(僅適用於紅帽係作業系統),具體詳見對應倉庫下級目錄的代表版本號的正整數。
- #### 指定 Docker Engine 安裝版本
指定安裝版本時會忽略 `是否安裝最新版本` 的命令選項,格式為 `主版.次版本.補丁版本`,例如 `27.4.1`。