什么是 uncloud?
uncloud is a lightweight clustering and container orchestration tool created by Pasha Sviderski that lets you deploy and manage web apps across cloud VMs and bare metal with minimal cluster management overhead. It bridges the gap between Docker simplicity and Kubernetes power, providing Docker simplicity with multi-machine power.
⚡ Key Features of uncloud
🌐 Multi-Machine Deployment
Deploy across cloud VMs, dedicated servers, and bare metal. Combine different providers into unified computing environment.
🐳 Docker Compose Compatible
Use familiar Docker Compose format for defining services. No need to learn new configuration languages or complex YAML.
🔒 Zero-Config Private Network
Automatic WireGuard mesh with peer discovery and NAT traversal. Containers get unique IPs for direct cross-machine communication.
🎯 No Control Plane
Fully decentralized design eliminates single points of failure. Each machine maintains synchronized cluster state through peer-to-peer communication.
🔍 Service Discovery
Built-in DNS server resolves service names to container IPs. Automatic load balancing and ingress with HTTPS via Caddy.
📦 Persistent Storage
Run stateful services with Docker volumes managed across machines. Data persistence without complex storage orchestration.
apt upgrade 即可始终保持最新版本。
📦 从 deb.griffo.io 安装
步骤 1:添加仓库
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt updateinstall -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update🆓 有一个永久免费的镜像。 deb-free.griffo.io 永久免费提供软件包 — 无需账号、无需订阅,最多落后上游 2 个月,安全修复立即发布。目前收录 cliamp、Ghostty、lazydocker、Oh My Posh 和 Zed;Uncloud 不在其中,因此今天只能通过上面的仓库安装 — 提出请求即可将其加入。
步骤 2:安装 uncloud
# Install latest uncloud
sudo apt install uncloud
# Verify installation
uc --version# Install latest uncloud
apt install uncloud
# Verify installation
uc --version🎯 基本使用示例
Initialize your first cluster:
# Initialize cluster on first machine
uc machine init root@your-server-ip
# Add more machines to cluster
uc machine add --name server2 root@second-server-ip
# List cluster machines
uc machine lsDeploy applications:
# Deploy from Docker image with HTTPS
uc run -p app.example.com:8000/https image/my-app
# Deploy from Docker Compose file
uc compose up -f compose.yaml
# Scale service across machines
uc scale my-app 3
# List running services
uc lsManage deployments:
# Update service with new image
uc update my-app image/my-app:v2
# View service logs
uc logs my-app
# Remove service
uc rm my-app
# Clean up cluster
uc machine rm server2🚀 为什么选择 deb.griffo.io?
- Official Ubuntu: Not available in official repositories
- Install Script: Manual updates and dependency management
- Manual Binary: No package management or automatic updates
- deb.griffo.io: Latest version with automatic updates
- ✅ Latest Features: Get newest orchestration and networking improvements
- ✅ No Manual Setup: Pre-built binaries with all dependencies
- ✅ Automatic Updates: Packages updated within hours of upstream releases
- ✅ Complete Package: Includes all required components and scripts
- ✅ Multi-Distribution: Works on Jammy and Noble
- ✅ Easy Maintenance: Standard apt commands for updates
📦 软件包构建仓库
Debian 软件包在此 GitHub 仓库中自动构建和维护:
- 🌬️ uncloud-debian - Latest release builds
🔗 相关软件包
也可从 deb.griffo.io 获取:
- unregistry - Direct Docker image transfer (same author)
- lazydocker - Terminal UI for Docker management
- fzf Fuzzy Finder - Enhanced command searching