Skip to content
Kutrion
Browse docs

self-hosting

Air-gapped install

Build a self-contained bundle on a connected host, transfer one tarball, and install Kutrion on a disconnected host that never reaches the network.

Updated 17 अक्टू॰ 2026

Kutrion installs fully air-gapped. You build a self-contained bundle on a connected machine, transfer a single tarball, and bring the stack up on the disconnected host — nothing is pulled or built there. The license verifies offline too, so the install never phones home.

Build the bundle (connected host)

On a connected host with the repository and Docker, run bundle-offline.sh with a version tag:

cd deploy/onprem
./bundle-offline.sh v1.0.0          # produces dist/kutrion-onprem-v1.0.0.tar.gz

The script builds the app image (which also carries the admin console), pulls postgres:16 and redis:7 by the digests pinned in images.lock, and saves them into one tarball alongside the compose file, .env.example, and a generated install-offline.sh. The result is self-contained: it carries everything the disconnected host needs.

In the bundleWhy
app imagethe Kutrion application, prebuilt
postgres:16 imagethe bundled database
redis:7 imagethe bundled cache
rdpgw and guacamole/guacd imagesonly with --with-rdp: the RDP live viewer, enabled on the host with COMPOSE_PROFILES=rdp (see Install with Docker Compose)
images.manifest, images.lock, verify-images.shthe content ID of every image in the bundle, the pinned registry digests, and the check that compares them on install
reverse-proxy.example.confthe sample TLS proxy, including the admin console host; its network allowlist is required and ships closed to loopback, so add your administration network before use
docker-compose.ymlthe stack definition
.env.examplethe configuration template
install-offline.shloads the images and starts the stack

The script also writes kutrion-onprem-v1.0.0.tar.gz.sha256 beside the tarball. Compare it on the disconnected host over a channel other than the one that carried the tarball: the manifest travels inside the tarball, so the checksum is what ties both to the build.

Transfer

Move the tarball to the air-gapped host by whatever approved channel you use — removable media, an internal transfer host, a data diode. No registry access is needed on the destination.

Install (disconnected host)

Extract the tarball, then run install-offline.sh twice. The first run loads the images, seeds .env from the template, and exits so you can edit it. The second run starts the stack from the loaded image.

tar -xzf kutrion-onprem-v1.0.0.tar.gz -C /opt/kutrion
cd /opt/kutrion

./install-offline.sh                # first run: loads images, seeds .env from the template, exits
# edit .env — secrets, URLs (same minimum set as the connected install)
./install-offline.sh                # second run: starts the stack from the loaded image

Each run verifies the loaded images before anything starts. verify-images.sh compares the content ID of every loaded image with the one recorded at build time and, for registry images, the pinned registry digest. A tag that points at a different image is never trusted: on any mismatch the installer prints DIGEST MISMATCH, names the image and exits without starting the stack.

The first run never starts containers if .env is missing — it creates it and tells you to edit it. The second run uses the pre-loaded image and never attempts to build, so the disconnected host needs no compiler, no registry, and no outbound network. Set the same minimum variables as a connected install (POSTGRES_PASSWORD, JWT_SECRET, DEV_MASTER_KEY, APP_BASE_URL, RP_ID/RP_ORIGIN) — see Install with Docker Compose.

The license verifies offline

On-prem reads its entitlements from a signed .vtlic file, verified locally against a built-in vendor public key. There is no activation call and no license server to reach, so an air-gapped install verifies its license like any other — nothing leaves the host. The connected over-deployment heartbeat is off unless you explicitly set its URL, so an air-gapped install never phones home. See Licensing and activation for the full license model.

Next