Docker Install¶
This guide explains how to deploy One-KVM with Docker.
Prerequisites¶
- System requirements: Linux (Debian/Ubuntu recommended) with Docker installed.
- Hardware: enable USB OTG or connect a CH340 + CH9329 HID cable (for HID emulation), and connect a USB video capture card.
The OTG enable command varies by CPU platform (Allwinner, Amlogic, Rockchip, etc.). Check platform documentation for the exact command.
Start the Container¶
Access the Web UI¶
Open a browser and visit http://<device-ip>:8080
First-time Access
On the first visit, the system will guide you through initial setup, including creating the admin account.
Configuration Options¶
Environment Variables¶
| Variable | Default | Description |
|---|---|---|
TZ |
UTC |
Time zone |
HTTP_PORT |
8080 |
HTTP port |
HTTPS_PORT |
8443 |
HTTPS port |
ENABLE_HTTPS |
false |
Enable HTTPS service (true/false) |
DATA_DIR |
/data |
Data directory |
VERBOSE |
0 |
Log verbosity: 1 (-v), 2 (-vv), 3 (-vvv). Higher is more verbose |
Notes
- When HTTPS is enabled, no extra certificate mount is required; a default self-signed certificate is used.
--privileged=trueand the/devand/sysmounts are required for hardware access and cannot be omitted currently.--net=hostensures ports are exposed directly; no-pmappings are needed.