fix: 删除无效内容

This commit is contained in:
spiritsoul
2026-03-10 08:12:53 +00:00
parent f58b071430
commit 73e39f7ee8
4 changed files with 4 additions and 90 deletions

View File

@@ -43,20 +43,4 @@ Bulk or individual NAT server provisioning based on containerd + nerdctl runtime
- Kernel must support overlay filesystem
- Network must be able to connect to GitHub raw interface
- At least 3GB free disk space
- **No KVM hardware support required**
## Comparison with Docker
| Feature | containerd | docker |
|---------|-----------|--------|
| Runtime | containerd + runc | Docker daemon + runc |
| Management CLI | nerdctl | docker |
| Daemon required | Lightweight daemon | Heavy Docker daemon |
| Container support | Linux containers (LXC) | Linux containers + KVM VMs |
| Installation | nerdctl-full bundle | Docker official script |
It is recommended to add some SWAP virtual memory before provisioning NAT servers to avoid host crash due to sudden memory spikes.
```shell
curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
```
- **No KVM hardware support required**

View File

@@ -43,23 +43,4 @@ Bulk or individual NAT server provisioning based on Podman (daemonless architect
- Kernel must support overlay filesystem
- Network must be able to connect to GitHub raw interface
- At least 3GB free disk space
- **No KVM hardware support required**
## Comparison with containerd and Docker
| Feature | podman (this project) | containerd | docker |
|---------|----------------------|-----------|--------|
| Daemon | None (daemonless) | Lightweight containerd | Heavy Docker daemon |
| Runtime | crun/runc | runc | runc |
| CLI | podman | nerdctl | docker |
| Rootless support | Native | Requires config | Requires config |
| Image format | OCI | OCI | OCI |
| Network backend | netavark/CNI | CNI | Docker bridge |
| Container support | Linux containers (LXC) | Linux containers (LXC) | Linux containers + KVM VMs |
| Installation | System package manager | nerdctl-full bundle | Docker official script |
It is recommended to add some SWAP virtual memory before provisioning NAT servers to avoid host crash due to sudden memory spikes.
```shell
curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
```
- **No KVM hardware support required**

View File

@@ -43,28 +43,4 @@ containerd 方案**不支持 KVM/QEMU 虚拟机**,仅支持 Linux 容器LXC
- 内核需支持 overlay 文件系统
- 网络能连接 Github 的 raw 界面即可
- 空闲硬盘有 3G 以上即可
- **不需要 KVM 硬件支持**
## 与 docker 对比
| 特性 | containerd | docker |
|------|-----------|--------|
| 运行时 | containerd + runc | Docker daemon + runc |
| 管理命令 | nerdctl | docker |
| 是否需要守护进程 | 轻量级守护进程 | 重量级 Docker daemon |
| 容器支持 | Linux 容器LXC| Linux 容器 + KVM 虚拟机 |
| 安装方式 | nerdctl-full bundle | Docker 官方脚本 |
推荐在开设 NAT 服务器前先增加部分 SWAP 虚拟内存,避免突发的内存占用导致宿主机卡死
国际
```shell
curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
```
国内
```shell
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
```
- **不需要 KVM 硬件支持**

View File

@@ -43,31 +43,4 @@ Podman 方案**不支持 KVM/QEMU 虚拟机**,仅支持 Linux 容器LXC
- 内核需支持 overlay 文件系统
- 网络能连接 Github 的 raw 界面即可
- 空闲硬盘有 3G 以上即可
- **不需要 KVM 硬件支持**
## 与 containerd 和 docker 对比
| 特性 | podman本项目 | containerd | docker |
|------|----------------|-----------|--------|
| 守护进程 | 无daemonless| 轻量级 containerd | 重量级 Docker daemon |
| 运行时 | crun/runc | runc | runc |
| 管理命令 | podman | nerdctl | docker |
| rootless 支持 | 原生支持 | 需配置 | 需配置 |
| 镜像格式 | OCI | OCI | OCI |
| 网络后端 | netavark/CNI | CNI | Docker bridge |
| 容器支持 | Linux 容器LXC | Linux 容器LXC | Linux 容器 + KVM 虚拟机 |
| 安装方式 | 系统包管理器 | nerdctl-full bundle | Docker 官方脚本 |
推荐在开设 NAT 服务器前先增加部分 SWAP 虚拟内存,避免突发的内存占用导致宿主机卡死
国际
```shell
curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
```
国内
```shell
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
```
- **不需要 KVM 硬件支持**