Install NexoVirt with Docker
NexoVirt ships as a Docker image: ghcr.io/nexovirt/panel. Tags are :<version>, :<line> (for example :1.3) and :latest. You can run it as a compose stack (recommended) or as one container.
What you need
Section titled “What you need”- A Linux host with Docker Engine 25 or newer (API 1.44) and the Compose plugin. The updater refuses older engines.
- Ports 80 and 443 free on that host (or your own proxy, see Docker behind your own proxy).
- A DNS name for the panel pointing at the host (an IP address works for a first test over plain http).
- Proxmox nodes that can reach
NEXOVIRT_PUBLIC_URL.
Compose install
Section titled “Compose install”-
Create a folder and download the files.
Terminal window mkdir nexovirt && cd nexovirtcurl -fsSLO https://release.nexovirt.com/docker/compose.ymlcurl -fsSLo .env https://release.nexovirt.com/docker/.env.examplecurl -fsSLO https://release.nexovirt.com/docker/nexovirtchmod +x nexovirt -
Edit
.env. These values are required:Variable Meaning NEXOVIRT_PUBLIC_URLAddress of the panel as nodes and browsers see it. DB_PASSWORDPassword of the bundled MySQL user. Avoid 'and\.NEXOVIRT_IMAGESet to ghcr.io/nexovirt/panel:latest(or:1.3).Keep
NEXOVIRT_IMAGEon a line tag (latestor1.3), not a version. An update pulls the signed image and moves that tag. With a version tag such as:1.3.70the update refuses with “Set NEXOVIRT_IMAGE to a line tag (latest or 1.3) first.” -
Start the stack.
Terminal window docker compose up -d -
Open
NEXOVIRT_PUBLIC_URLand sign in. If you leftNEXOVIRT_ADMIN_PASSWORDempty, a password is generated and printed once in the log:docker compose logs web.
Useful .env values:
| Variable | Default | Meaning |
|---|---|---|
COMPOSE_PROFILES | proxy | proxy = bundled Caddy on 80/443. own-proxy = your own proxy. Add ,self-update for the panel update button. |
NEXOVIRT_LICENSE | empty | Existing license key. Empty = a free Community license on the first start. |
NEXOVIRT_ADMIN_USER | admin | First admin account. |
NEXOVIRT_ADMIN_PASSWORD | empty | Empty = generated and printed once. |
PUID, PGID | 1000 | Owner of the files in the volumes. |
The stack has the services web, provision, migrate, console, cron, caddy and db. Data lives in the volumes config, writable, uploads, caddy, db and backups.
First start without a domain
Section titled “First start without a domain”Without a domain the panel runs on plain http on the host address, like the script install. Add the domain under Settings > Domain. Caddy then gets the certificates itself, and the nodes move to https.
Single container
Section titled “Single container”For hosts without Compose (Unraid, TrueNAS, Portainer, Synology) run one container with the bundled database and proxy. Mount every path below. Without them the database and the certificates are lost when the container is recreated.
docker run -d --name nexovirt \ --label com.nexovirt.role=aio \ --restart unless-stopped \ --stop-timeout 600 \ -p 80:80 -p 443:443 -p 443:443/udp \ -e NEXOVIRT_PUBLIC_URL=https://panel.example.com \ -v /srv/nexovirt/config:/config \ -v /srv/nexovirt/writable:/app/writable \ -v /srv/nexovirt/uploads:/data/uploads \ -v /srv/nexovirt/backups:/backups \ -v /srv/nexovirt/mysql:/var/lib/mysql \ -v /srv/nexovirt/caddy:/data/caddy \ ghcr.io/nexovirt/panel:latest aioReady-made templates are in the docker/templates folder of the release: unraid/nexovirt.xml, truenas/compose.yml and portainer.json. All of them set the label and the six paths.
Your licence stays the same
Section titled “Your licence stays the same”The first start creates an install ID in config. Recreating the container, updating, or moving the volume to another host keeps the same activation. Keep the config volume safe.
Troubleshooting
Section titled “Troubleshooting”Proxmox nodes cannot reach the panel. Agents call NEXOVIRT_PUBLIC_URL. Check that the name resolves from the node, that ports 80 and 443 reach the host, and that the value has no path. Fix .env and run docker compose up -d.
The console stays black. The console uses a WebSocket on /console-proxy/. The bundled Caddy forwards it. Behind your own proxy it must be forwarded too: see Docker behind your own proxy.
nexovirt update refuses. Two causes. Containers named *-nxold are left over from an earlier update: check them, then remove them or rename them back as the message says. Or the file /config/update-broken exists because the last rollback was incomplete: see Docker updates and rollback.
The container exits at once. Read the log (docker compose logs web). A missing NEXOVIRT_PUBLIC_URL or DB_PASSWORD is named in the first lines.
NexoVirt is developed and designed by Nucez Software, your partner for custom software and web design.