Skip to main content
A template that needs more than a plain container declares it in its manifest. Levelrail shows the request before install, blocks it unless the matching setting is on, and records what you granted.

Capability classes

A template can also list requires_kernel_modules (for example wireguard). Levelrail checks the host for each module before install and stops with a clear message when one is missing, instead of failing on first start. Privileged containers are never allowed in a template.

Settings

Each class is off by default and applies live. Turning one on needs root. Turning a setting off cuts the grant for running apps at the next reconcile.

The LOGS scope

LOGS is for log viewers such as Dozzle. It lists and reads the containers and log text of every app on the host. It is read only: no start, stop, exec, archive, attach, image, volume, network, secret or swarm access. Inspect and list answers are filtered on the proxy: environment variables are removed, host paths and bind sources are reduced to names, and labels that look like secrets are dropped. The Levelrail control plane and containers that do not belong to an app are not visible. Containers carry no stack marker, so the scope is every app on the host, not one stack. Logs themselves are not filtered, and they can contain secrets, so grant LOGS only when everyone who can open the viewer may read every app’s logs. Granting needs root. Containers carry no team label, so LOGS reads every team’s logs: while the instance has more than one team the install, upgrade and rollback are refused unless root turns on templates.logs_grant_allow_multi_team, and an allowed install says in its response that all teams’ logs are exposed.

Declaring a capability

Every entry needs a service and a reason. The reason is shown to the person installing.

Granting at install

Only root can grant an elevated class. From the CLI, confirm each class the template declares:
Without --grant, install stops and prints the flags you need. The dashboard shows the same request as a confirmation step.

Architecture mismatch

A template with no verified build for the host’s architecture refuses to install. Override it only when you know the image works:

Why did an install fail

Lists templates whose install failed on this host, the gap class (capability, Docker socket, architecture, port, kernel module, device) and what unlocks it. A row clears when the template installs. The record is local and never uploaded. See also Templates and registry, Arm64 compatibility and Runtime settings.
Last modified on November 28, 2026