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,48 @@
> 本文作者:丁辉
# 二进制安装Docker
[官方文档](https://docs.docker.com/engine/install/binaries/#install-daemon-and-client-binaries-on-linux)
## 准备工作
- [二进制文件包下载](https://download.docker.com/linux/static/stable/)
- [docker.service下载](https://github.com/moby/moby/blob/master/contrib/init/systemd/docker.service)(此文件只做示例,因为二进制安装还是有些不同的)
## 开始部署
1. 下载二进制文件(地址如上所示)
2. 解压文件
```bash
tar -zxvf docker-*.tgz
```
3. 配置 Docker 环境
```bash
cp ./docker/* /usr/bin/
```
4. 下载 docker.service 文件
```bash
wget https://gitea.offends.cn/Offends/Kubernetes/raw/branch/main/Docker/Files/docker.service.old
```
将文件移动到指定位置
```bash
cp ./docker.service.old /usr/lib/systemd/system/docker.service
```
5. 启动程序
```bash
systemctl daemon-reload
systemctl start docker
systemctl enable docker
```