mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2026-03-05 10:35:36 +08:00
更新文档
This commit is contained in:
@@ -232,13 +232,6 @@ hide:
|
||||
|
||||
> 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>`
|
||||
|
||||
- #### 指定 Docker CE 软件源地址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
```
|
||||
> 注意该地址路径需要包含镜像站的 Docker CE 软件源仓库路径即 `docker-ce`
|
||||
|
||||
- #### 指定镜像仓库地址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
@@ -300,6 +293,13 @@ hide:
|
||||
[[ $(systemctl is-active docker) == "active" ]] && systemctl restart docker || systemctl enable --now docker
|
||||
```
|
||||
|
||||
- #### 指定 Docker CE 软件源地址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
```
|
||||
> 注意该地址路径需要包含镜像站的 Docker CE 软件源仓库路径即 `docker-ce`
|
||||
|
||||
- #### 指定 Docker CE 软件源仓库
|
||||
|
||||
脚本默认会自动判断一般无需指定,除非你有特殊需求
|
||||
|
||||
Reference in New Issue
Block a user