修改Docker文档目录层级,更新Docker脚本,更新Docker文档
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-11-06 23:06:28 +08:00
parent 05791351c3
commit 103ee74cab
36 changed files with 1731 additions and 133 deletions

View File

@@ -0,0 +1,45 @@
> 本文作者:丁辉
# 通过脚本安装Docker
## 官方脚本
- 官方源
```bash
curl -fsSL https://get.docker.com | bash
```
- 阿里源
```bash
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
```
> 脚本下载:
>
> ```bash
> curl -fsSL https://get.docker.com -o get-docker.sh
> ```
## 第三方脚本(Rancher)
- 官方源
```bash
curl https://releases.rancher.com/install-docker/20.10.sh | sh
```
- 阿里源
```bash
curl -fsSL https://releases.rancher.com/install-docker/20.10.sh | sh -s -- --mirror Aliyun
```
> 脚本下载:
>
> ```bash
> curl -fsSL https://releases.rancher.com/install-docker/20.10.sh -o rancher-20.10.sh.sh
> ```