Quick deployment
This walkthrough installs CloudHost and Docker on one Linux host, then creates a container.
1. Install the controller
bash
curl -fsSL https://idcgit.opkg.cn/install.sh | sudo bash -- --firewallThe script prints the URL and an API Token (for API / CLI / plugins only — it is not a web login password).
2. Initialize and log in
Open http://<ip>:1881. On first visit the initialization page asks for:
- the system title (shown on the login page, browser tab and console branding);
- an admin password (8+ characters).
Submit, then log in as admin with that password. The API token can be viewed or reset under Settings → Access & Security.
3. Install Docker
bash
curl -fsSL https://get.docker.com | sudo sh
sudo systemctl enable --now docker
sudo docker versionIf Docker runs on the same host, use localhost as the host address.
4. Add a host
| Field | Value |
|---|---|
| Name | local |
| Type | Docker Runtime Env |
| Address | localhost |
| Image path | /data/images |
| Data path | /data/vms |
5. Create an instance
Choose host local, an image, 1 CPU / 1 GB / 10 GB, submit, wait for the task.
6. Open the console
Instance detail → Console. Containers use the web terminal; virtual machines use noVNC.
Troubleshooting
| Symptom | Fix |
|---|---|
| Host offline | check SSH, credentials, docker group |
| No images | check images_path and file names |
| Create failed | open task detail for the platform error |
| Console 404 | ensure static/ and VNCConsole/ exist |