Install

Install Levelrail on a Linux server

Pull the image and run it, or download a release from GitHub. The full install steps live in the README.

Latest v1.5.13 published

  • LinuxServer, CLI
  • DockerImage
  • macOSCLI
  • WindowsCLI
The Levelrail dashboard home screen.
root@your-server
docker pull ghcr.io/glincker/levelrail:latest# amd64 and arm64, signed with cosign# Then run it: see Downloads
System
Linux, amd64 or arm64
Runtime
Docker 24 or newer
Ports
80 and 443
Size
1 vCPU, 1 GB, 10 GB

Pre-releases are only installed if you choose the beta channel.

What is new in v1.5.13
  • demo shows sample AI chat, terminal and SQL output and drops failure toasts after a read-only refusal (d569c10)
  • demo shows sample results for new app, database, env save, scale, domain DNS check and empty logs (036bda0)
  • demo template deploy shows one notice and repo import returns a sample plan (2999149)
Full release notes

The path

From a bare server to a first app

Four steps, about five minutes. These are real screens from a fresh install.

  1. Step 1

    Start the server

    Pull the image and run it on a Linux host with Docker, or download a release from GitHub.

    $ docker pull ghcr.io/glincker/levelrail:v1.5.13
  2. Step 2

    Copy the setup token

    The summary prints the dashboard URL and a one-time token. Valid for 15 minutes, print a new one any time.

    $ docker exec levelrail levelrail setup-token
  3. Step 3

    Create the admin

    Open the setup link, paste the token and pick a username and password.

    The Set up the admin account page with fields for setup token, username and password.
  4. Step 4

    Deploy a first app

    The sample app goes healthy with an automatic address. Then enable HTTPS from Domains.

    The sample app overview with a green Healthy pill and its generated address.

Before you start

Requirements

OS
Linux, amd64 or arm64, with systemd. Tested in CI on Ubuntu 24.04 and Debian 12. Other distros should work but are untested. Windows and other non-Linux systems are not supported.
Docker
24 or newer. The installer sets it up through get.docker.com if it is missing.
Access
Root on the host.
Ports on the control plane node
80/tcp and 443/tcp inbound. Port 80 is needed for Let's Encrypt HTTP-01. 443/udp is optional, for HTTP/3.
Ports on agent-only nodes
None. Agents dial out to the control plane.
Starting size
1 vCPU, 1 GB RAM and 10 GB disk boots Docker and the control plane. 2 vCPU, 2 GB RAM and 20 GB disk is more comfortable once builds and apps run. No minimum has been benchmarked or published yet.

Supported hosts: any Linux server with systemd on amd64 or arm64, such as a home server, a VPS, an EC2 instance or a Google Cloud VM. The installer has no distro allowlist, it checks for Linux, systemd and Docker.

Downloads

Releases and images

Every file below is from the v1.5.13 release on GitHub. Check the checksum before you run a binary. The install commands are in the README.

  • Linux amd64

    levelrail-linux-amd64, 371 MB

    Download
  • Linux arm64

    levelrail-linux-arm64, 344 MB

    Download
  • Docker

    glincker/levelrail:v1.5.13

    Pull and run
  • CLI

    macOS, Windows and Linux client for an existing instance.

    Get the CLI

All release files

PlatformFileSizeDownload
Control plane, linux amd64levelrail-linux-amd64371 MBDownload
Control plane, linux arm64levelrail-linux-arm64344 MBDownload
Node agent, linux amd64levelrail-agent-linux-amd6458.9 MBDownload
Node agent, linux arm64levelrail-agent-linux-arm6455.3 MBDownload
CLI, macOS amd64levelrail-cli-darwin-amd64160 MBDownload
CLI, macOS arm64levelrail-cli-darwin-arm64150 MBDownload
CLI, Linux amd64levelrail-cli-linux-amd64155 MBDownload
CLI, Linux arm64levelrail-cli-linux-arm64145 MBDownload
CLI, Windows amd64levelrail-cli-windows-amd64.exe155 MBDownload
CLI, Windows arm64levelrail-cli-windows-arm64.exe143 MBDownload

Docker

Multi-arch images for linux/amd64 and linux/arm64, signed with cosign. Pin the exact tag for anything you want to keep still.

pull
docker pull ghcr.io/glincker/levelrail:v1.5.13
docker pull ghcr.io/glincker/levelrail-agent:v1.5.13
docker run
docker run -d \
  --name levelrail \
  -p 80:80 -p 443:443 -p 127.0.0.1:8080:8080 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  --group-add $(stat -c '%g' /var/run/docker.sock) \
  -v levelrail-data:/var/lib/levelrail-data \
  -e APP_DATA_DIR=/var/lib/levelrail-data \
  ghcr.io/glincker/levelrail:v1.5.13

Port 8080 is bound to the loopback address. Tunnel to it for the first sign-in, then print the setup token from inside the container. The container gets access to the Docker socket, so only run it on a host you control.

first sign-in
ssh -L 8080:127.0.0.1:8080 user@your-server
docker exec levelrail levelrail setup-token

Tags and channels

The latest tag follows stable releases. Use an exact tag to stay on one release, or the beta tag to follow pre-releases.

pinned image
docker pull ghcr.io/glincker/levelrail:v1.5.13
beta channel
docker pull ghcr.io/glincker/levelrail:beta

Command line tool

To control an existing instance from your laptop or a CI runner, install just the CLI. It is a client, not the server.

brew install glincker/tap/levelrail-cli

Terraform and OpenTofu

Manage apps, domains and databases from code with the Levelrail provider, listed on both registries.

Verify

Check what you downloaded

Every release file is listed in checksums.txt, and checksums.txt itself is signed with cosign keyless signing from this repository's release workflow. The verify commands are in the install steps on GitHub.

Expected SHA-256 for v1.5.13

levelrail-linux-amd64
a9d1822cd82ed2e010c1ed08fb52d7e099ee6b4991212bb808ffaad4a4df40c0  levelrail-linux-amd64
levelrail-linux-arm64
ac0237f3eff198aff602f8f893bdfee68b8c264872853938d93ab78aedcc9708  levelrail-linux-arm64

After installing: check that it worked

The installer already fails loudly if the control plane is not healthy within 60 seconds. You can re-check at any time.

Health check
GET /healthz on port 8080 answers.
First admin
GET /api/v1/auth/setup-status reports true until the first admin exists.
Container
docker ps shows levelrail running.
Master key
Back up the master key in /var/lib/levelrail-data. Every stored secret is encrypted with it.

Stay current

Upgrade and uninstall

An upgrade replaces the binary and restarts the service, keeping the unit file and your data. The previous binary is kept for rollback.

Upgrade

check, then apply
levelrail-cli upgrade
levelrail-cli upgrade --apply

Runs read-only preflight checks first and rolls back automatically if the new release is not healthy within 90 seconds. The same flow is in Settings, Updates.

Uninstall

Removal keeps your data unless you delete the data directory yourself. Docker and the containers and volumes of your deployed apps are not removed. The steps are in the install instructions on GitHub.

Network

Firewall ports

Open these on the host or in your cloud provider's security group. Service and firewall commands are in the install instructions.

  • 80/tcp

    Inbound

    HTTP, and the Let's Encrypt HTTP-01 challenge. Never moved by the installer on its own.

  • 443/tcp

    Inbound

    HTTPS for the dashboard and your apps.

  • 443/udp

    Optional

    HTTP/3.

  • 8080/tcp

    Dashboard and API

    The first-run setup link. Plain HTTP. If something else holds 8080 the installer picks the next free port and prints it.

  • None

    Agent-only nodes

    Agents dial out to the control plane, so they need no inbound ports.

Transparency

What the installer does

The installer is open source and ships as a release asset on GitHub. Read it there before you run anything.

  1. Runs preflight checks (root, architecture, OS, systemd, curl, Docker version, RAM, free disk, ports 80, 443 and 8080). Low RAM only warns, other failed checks stop the install unless you pass --force. If ports 80 or 443 are already held by another service, it switches to coexist mode (ingress on 8088 and 8443, dashboard on loopback) instead of failing.
  2. Installs Docker if it is missing.
  3. Downloads the newest stable release for your architecture, verifies its SHA-256 checksum and, when cosign is available, its cosign signature. It installs a pinned cosign if none is present, unless you pass --no-cosign.
  4. Installs levelrail-cli to /usr/local/bin from the same release.
  5. Writes a systemd unit, starts it and waits for the health check.
  6. Checks that ports 80 and 443 answer on the public IP and prints the firewall commands if they do not.
  7. Prints the dashboard URL, a one-time setup token for the first admin, and a reminder to back up the master key in /var/lib/levelrail-data.

Troubleshooting

Preflight checks fail and the install stops

The host is missing something the installer needs: Docker 24 or newer, free ports 80 and 443, 1 GB RAM or 10 GB free disk. Fix the one that failed and run the installer again. The install instructions on GitHub list the options for taken ports.

The control plane starts but does not answer

Another process may hold the port, or the service failed to bind. Read the unit status and the last journal lines, and check which process owns 8080 or the port you set with LEVELRAIL_DASHBOARD_PORT. Restart the service once it is fixed.

The dashboard or CLI says Docker is unreachable

Docker may not be running or its socket is not at /var/run/docker.sock. Confirm Docker itself works, then see the full error from levelrail-cli. Start Docker with systemctl, or set DOCKER_HOST for a non-standard socket.

The setup link does not work or the token expired

The setup token is single-use and valid for 15 minutes, and the dashboard port may differ from the default. Print a new token on the server, then open the login page with it.

More cases are in the troubleshooting docs.

Install questions

How do I install Levelrail?

Pull the image with docker pull ghcr.io/glincker/levelrail:latest on a Linux server with Docker, or download a release from GitHub. The install instructions are in the README on GitHub.

What are the requirements to install Levelrail?

A Linux server (amd64 or arm64) with systemd, root access, curl and ports 80 and 443 open. 1 vCPU, 1 GB RAM and 10 GB disk is a starting point. Ubuntu 24.04 and Debian 12 are tested in CI.

Does Levelrail run on Windows or macOS?

No. Nodes must be Linux. You can still control a server from any machine with the CLI or the dashboard.

How do I uninstall Levelrail?

Follow the uninstall steps in the install instructions on GitHub. Your data is kept unless you delete the data directory yourself. Docker and the containers and volumes of your deployed apps are not removed.

Ready when your server is

Pull the image or download a release from GitHub. Then deploy your first app.

docker pull ghcr.io/glincker/levelrail:latest