first commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-12-13 18:06:23 +08:00
commit 8a87b699ba
333 changed files with 27094 additions and 0 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
> ```