mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-03 07:50:28 +08:00
更新文档
This commit is contained in:
@@ -217,13 +217,6 @@ hide:
|
||||
|
||||
> Full source format: `<WEB protocol>://<source address (domain or IP)>/<repository path>`
|
||||
|
||||
- #### Specify Docker CE Source Address
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
```
|
||||
> Note: The address path must include the Docker CE repository path, i.e., `docker-ce`.
|
||||
|
||||
- #### Specify Registry Mirror Address
|
||||
|
||||
``` { .bash .no-copy }
|
||||
@@ -285,6 +278,13 @@ hide:
|
||||
[[ $(systemctl is-active docker) == "active" ]] && systemctl restart docker || systemctl enable --now docker
|
||||
```
|
||||
|
||||
- #### Specify Docker CE Source Address
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
```
|
||||
> Note: The address path must include the Docker CE repository path, i.e., `docker-ce`.
|
||||
|
||||
- #### Specify Docker CE Repository
|
||||
|
||||
The script will automatically detect this in most cases. Specify only if you have special requirements.
|
||||
|
||||
Reference in New Issue
Block a user