NetBird on Docker vs Kubernetes vs VMs

Docker Compose on a single Linux VM is the documented NetBird self-hosting path. This page sets out when that model fits, when Kubernetes or a plain VM is worth the extra work, and what to confirm with NetBird before you choose.

On this page

Which NetBird deployment model fits your team

The documented self-hosting path is Docker Compose on a Linux VM, and NetBird's published self-hosting quickstart does not cover Kubernetes or non-containerized VM installs, so confirm those two options with NetBird before you plan around them. Docker Compose fits a team that wants the setup NetBird documents: a Linux VM with at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin. One combined configuration runs management, signal, relay and STUN, alongside a dashboard container, a Traefik reverse proxy with Let's Encrypt by default, and an embedded Dex identity provider. Choose this model if your firewall team accepts the public domain and inbound ports, your operators will own backups and upgrades (NetBird says self-hosting operators handle them), and you can confirm with NetBird how much load one VM can carry, since the quickstart lists only minimums.

Kubernetes fits a team that already runs a cluster, has operators experienced with stateful services, and wants the management stack to follow the same release and recovery process as its other workloads. Treat that fit as something to verify, not something to assume. NetBird's documentation does not describe a Kubernetes chart, manifests or a supported high availability layout for the combined management, signal, relay and STUN configuration. Put these questions to NetBird in writing: which chart or manifests exist, where the combined configuration and embedded Dex data persist, how ingress and TLS replace the bundled Traefik proxy, how UDP 3478 is exposed through your load balancer, and how a rolling upgrade is tested. If the answers are vague, the cluster adds moving parts without a clear benefit, and your team carries the design risk alone.

A non-containerized VM install fits a team whose servers cannot run a container runtime, for example because a hardening baseline or configuration management standard prohibits Docker on hosts. Treat that as an open question. NetBird's quickstart is built on containers, including the Traefik proxy and the dashboard, so confirm whether NetBird publishes binaries or packages for the management, signal, relay and STUN services, how the dashboard is served without its container, and who supports that install. Do not read the long client list in NetBird's README as evidence for server placement. It covers Linux, Windows, macOS, mobile devices, routers, NAS devices and hypervisors such as Proxmox, which describes where peers run and says nothing about where the control plane can run. If NetBird cannot confirm a non-container path, the decision comes down to whether your container policy allows Docker on one VM.

How Docker Compose on a VM compares with Kubernetes for NetBird

This table compares the documented self-hosting quickstart, Docker Compose on one Linux VM, with running NetBird on a Kubernetes cluster. Read the VM column as the documented path and the Kubernetes column as questions to settle with NetBird before you commit. The main takeaway is that Compose is the simpler documented route for a single site, while Kubernetes suits teams that already run clusters and can confirm high availability and upgrade paths.

RequirementDocker Compose on a Linux VMKubernetes cluster
Minimum requirementsAt least 1 CPU and 2 GB of memory, plus Docker with the Compose plugin, per the self-hosting quickstart.Ask NetBird for supported Kubernetes versions, node sizing and resource requests for each component.
Ports TCP 80, TCP 443 and UDP 3478Open TCP 80 and 443 and UDP 3478 to the VM's public address, including any cloud firewall.Confirm how these three ports reach the pods, including UDP through your load balancer or ingress.
Domain and TLSRequires a public domain. Traefik requests Let's Encrypt certificates by default.Confirm whether your ingress or cluster issuer handles certificates, and who owns renewal.
Upgrade methodYou run upgrades yourself. Read each release note first, such as v0.81.2 published October 16, 2026.Confirm whether official Helm charts or manifests exist and how version upgrades are tested and rolled out.
Backup scopeYou own backups. Confirm with NetBird which stores hold state, then back up each one and test restores.Confirm which volumes, databases and secrets must be captured, and how to snapshot them consistently.
High availabilityOne host by default, so a VM outage stops the whole stack until it is restored.Confirm whether management, signal, relay and STUN can run with multiple replicas and what state they share.
Scaling beyond one hostThe quickstart describes one host. Confirm scaling options before committing to this path.Confirm node scaling and whether each component scales independently.
Skills the team needsLinux administration, Docker and Compose, DNS, certificates and firewall rules.Cluster operations, ingress, persistent storage, plus the same DNS and certificate skills.

What the self-hosted NetBird stack runs as components

A self-hosted NetBird deployment is a small set of components: one combined management, signal, relay and STUN configuration, a dashboard, a reverse proxy and an identity provider. Each has a different job for a peer, so a failure in one looks different from a failure in another. Plan high availability, backup and upgrades per component, and confirm the answers with NetBird before you choose between Docker, Kubernetes and VMs.

Combined management, signal, relay and STUN

One combined configuration runs the management service, signal, relay and STUN. Management hands each peer its network map and access policies, signal passes connection details between peers, STUN helps a peer learn its public address for a direct path, and the relay carries traffic when a direct path fails. A failure here touches enrollment and policy delivery for every peer, so treat it as the core dependency. Ask NetBird whether these services can run as separate replicas, what state they share, and what existing peers keep doing while the service is down.

Admin dashboard container

The dashboard is the web UI where administrators manage peers, groups, access rules and setup keys. It runs as its own container behind the same reverse proxy as the rest of the stack. A failure here blocks administrative changes in the UI, but do not read it as a tunnel outage until NetBird confirms how connected peers behave while the dashboard is down. Decide early who may reach the dashboard, and whether it should be published to the internet or kept to an internal network or VPN.

Traefik and Let's Encrypt

Traefik terminates HTTPS for the dashboard and the management endpoints, and it requests certificates from Let's Encrypt by default. Issuance and renewal depend on the public domain resolving to the host and on ports 80 and 443 staying reachable, both of which the quickstart requires. A failure here stops browser and client access, and an expired certificate looks like an outage to every peer at once. Confirm with NetBird which validation method the default uses, and set alerts on certificate expiry before you rely on the default in production.

Self-hosting quickstart

Embedded Dex and external SSO

Dex is the identity provider embedded in the stack, and it handles user login. It can be connected to external providers such as Google, Microsoft or Okta so staff sign in with company accounts. A failure here blocks sign-in to the dashboard and any enrollment that depends on SSO. Before you choose a topology, check with NetBird how group and user claims map to NetBird groups, what happens to existing sessions when the provider is unreachable, and whether SCIM provisioning is available to self-hosted deployments.

How a peer reaches the self-hosted NetBird stack

A client peer sends its first request to the Traefik reverse proxy over TCP 443. The proxy hands traffic to the dashboard, to Dex for SSO login, and to the combined management, signal and relay service. Peers also send STUN traffic over UDP 3478 to the STUN service, which the self-hosting quickstart runs from the same combined configuration. Check that both ports are open from every network your peers use, and confirm that the proxy, dashboard, Dex and combined service all sit inside the boundary your team operates.

Peers reach the stack over TCP 443 and UDP 3478.

What the documented minimum VM size does and does not tell you

The quickstart's documented minimum of 1 CPU and 2 GB of memory describes the smallest Linux VM that can start the self-hosted stack. It does not describe a production sizing. One host runs the combined management, signal, relay and STUN services, the dashboard, a Traefik reverse proxy that obtains Let's Encrypt certificates by default, and the embedded Dex identity provider. The self-hosting quickstart also requires Docker with the Compose plugin, a public domain, and the network baseline of TCP 80, TCP 443 and UDP 3478. Confirm each of these in your cloud security group and host firewall before you test anything, so that a blocked port does not look like a sizing problem later.

The documentation does not translate load into numbers, so you need to identify the drivers yourself. The first is the number of peers and how often they reconnect, since each enrolled device adds control traffic to the management service. The second is relay traffic: the share of sessions that cannot connect directly and fall back to the relay consumes CPU and bandwidth on the same host. The third is SSO logins at your identity provider, including sign-ins triggered when sessions expire. The fourth is the volume of activity and traffic event logs you keep, which grows with usage and drives disk and database size. The fifth is the number of admins using the dashboard or the public API at the same time.

Test sizing in a staging VM built to the documented minimum, then increase the load until you see where it breaks. Enroll a peer set that matches your device mix, including Linux servers, laptops, and any routers or NAS devices you plan to join, using setup keys or your provisioning tooling so onboarding resembles production. Run reconnect churn, force part of the traffic through the relay, sign in a realistic number of SSO users, and keep several admin sessions open. Watch CPU, memory, log and database growth, and dashboard response times, then repeat at the peer count you expect in your next planning cycle. Before you choose a host size, request written sizing guidance from NetBird for your peer count, relay expectations, log retention and admin count, and ask whether it applies to Docker, Kubernetes or VMs. Keep the reply in your change record, since backups, upgrades and scaling remain your team's work on a self-hosted deployment.

Upgrades, backups and monitoring for each deployment model

This table compares who handles upgrades, backups, patching, monitoring, logs and skills for a self-hosted NetBird deployment on Docker Compose in a VM and on Kubernetes. Read each row as a split between what NetBird documents and what your team must confirm or run. The main takeaway: NetBird's documentation places upgrades, backups and scaling with the self-hosting operator, so the deployment model mainly changes who patches the platform and which operations skills you need.

AreaDocker Compose on a VMKubernetes
UpgradesThe operator applies new releases by updating the Compose setup and restarting the stack. Confirm the exact steps for each release.Same operator responsibility, but the upgrade runs through your cluster tooling. Confirm whether NetBird publishes Kubernetes manifests or charts.
Release cadenceExpect point releases in quick succession: v0.81.0 on October 15, 2026, then v0.81.2 on October 16, 2026.Same cadence applies. Add a test step to your pipeline so each point release is checked before rollout.
BackupsOperator-owned. Back up the data directories and configuration the Compose stack uses. Confirm the exact paths.Operator-owned. Back up persistent volumes and configuration objects with your cluster backup tooling. Confirm which state needs capture.
Host or node patchingYour team patches the Linux host and Docker Engine, then restarts the stack in a maintenance window.Your team patches worker nodes and cluster components, draining nodes so NetBird workloads move cleanly. Confirm the disruption behavior.
MonitoringConfirm which health endpoints and metrics NetBird exposes before wiring host and container alerts.Confirm which probes and metrics the deployment exposes, then feed them into your cluster monitoring stack.
Log handlingNetBird lists activity and traffic event logging. Its pricing page ties audit event logging to Team and traffic logging to Business. Confirm whether self-hosted plans match.Same NetBird event logs, plus container logs that go to your cluster logging stack. Confirm forwarding to your SIEM.
Skills neededLinux administration, Docker and Compose, DNS, TLS and firewall rules for TCP 80 and 443 and UDP 3478.Kubernetes operations, persistent storage, ingress and certificates, on top of the same networking and identity skills.
Minimum host sizingThe quickstart lists a Linux VM with at least 1 CPU and 2 GB of memory, plus Docker with the Compose plugin.No minimum sizing is documented for this comparison. Confirm node sizing for your user and machine count.

Which team should pick Docker Compose, Kubernetes or a plain VM

A small IT team running one site with no container platform usually fits NetBird on Docker Compose on a single Linux virtual machine. The self-hosting quickstart lists the starting requirements: at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin. The stack bundles management, signal, relay and STUN, a dashboard, a Traefik reverse proxy with Let's Encrypt by default and an embedded Dex identity provider. Your team also carries backups, upgrades and scaling, so plan that work from the start.

  • Fit: one host, one domain, one firewall policy and a short list of containers to watch.
  • Where Kubernetes wins: you already operate a cluster with ingress, certificates and backup tooling, so NetBird becomes one more workload.
  • Where a plain VM wins: your standard is VM images and configuration management, and you want NetBird managed the same way as your other hosts.
  • SSO scope: the embedded Dex can add Google, Microsoft or Okta, so decide which provider your staff sign in with before go-live.

Confirm the NetBird release you will pin, the host restore procedure and that your network policy allows UDP 3478 for the peers that need it.

How an upgrade of a self-hosted NetBird stack should run

An upgrade of a self-hosted NetBird stack should move in a fixed order: read the target release, back up what the stack depends on, rehearse on staging, check peers and sign-in, then change production with a rollback path that has been tested. The sequence protects peer connectivity and SSO access, which are the two things users notice first when an upgrade goes wrong.

  1. Read the target release notes first

    The platform owner reads the release notes for the target version on the NetBird GitHub releases page before anything is touched. The goal is to list breaking changes, configuration changes and any migration steps that apply to your runtime, whether that is Docker Compose on a VM, a Kubernetes deployment or a plain VM install. Record the current running version so a rollback has a known target. The step closes with a short written change note that the security and identity owners have read.

  2. Back up the state the stack depends on

    The platform owner confirms with NetBird's documentation or support exactly which volumes, database files and configuration the deployment depends on, then backs them up while the stack is stopped or in a consistent state. Items to ask about include the combined configuration, the embedded Dex data, the Traefik certificate storage and any database the management service uses. The step closes when the backup has been copied off the host and a restore has been tested on a separate machine.

  3. Upgrade a staging VM first

    The platform owner applies the same upgrade steps to a staging copy that runs the same runtime and identity setup as production, whether that is a Compose stack on a Linux VM, a Kubernetes namespace or a VM install. Staging can use a test domain, but it should share the same starting version, reverse proxy pattern and external SSO connection type so that the checks in the next steps mean something. The step closes when all containers or services report healthy, the dashboard loads, and the logs show no errors from the management, signal, relay or dashboard components.

  4. Run peer connection checks

    The network owner enrolls or reuses test peers on each client platform the organization uses, including at least one peer behind a restrictive network so the relay path is exercised, and one on a different network so the direct path is exercised. Each peer should reconnect after the upgrade, show the expected routes and private DNS, and reach a test resource that the access policy allows and one it denies. The step closes with a record of which peers connected directly, which used relay, and which failed, compared against a baseline recorded before the upgrade.

  5. Check SSO and admin sign-in

    The identity owner signs in to the dashboard through every login path in use, including the embedded Dex provider and any external provider such as Google, Microsoft or Okta, and checks MFA prompts, group membership and any admin API tokens or setup keys still in use. Sign-in should succeed for a normal user and for an admin, and a user who is removed from a group should lose the matching access after the upgrade. The step closes with a signed-off checklist, and the admin who will handle rollback should confirm they can still sign in on staging before production starts.

  6. Upgrade production with the same checks

    The platform owner repeats the staging steps in production during a window agreed with the users who depend on it, starting only after staging has passed every check. The backup taken in the second step stays in place until production passes, and the same peer and sign-in checks run again before the change is called complete. The step closes when the production stack reports healthy, the peer and sign-in checklists match staging, and the change record names the backup used and the version now running.

  7. Keep a tested rollback path

    The platform owner keeps the previous image or package version and the backup from the second step available after production passes, and confirms that a restore was rehearsed on staging before the production change. Rollback means stopping the new version, restoring the backed-up state and starting the previous version, so the runbook should name each volume or database that comes back and who has authority to trigger it. The step closes when the runbook has been walked through with the people who would use it, and the rollback owner can state the restore steps without looking them up.

What buyers ask before they choose a NetBird deployment model

How much does self-hosting NetBird cost compared with NetBird Cloud?

Self-hosting replaces a per-seat subscription with your own infrastructure and staff time, so the cost depends on what you run and who runs it. NetBird's pricing page lists Team at 6 euros and Business at 12 euros per user per month, with extra machines at 0.50 euros each, and bills only active users and machines. Self-hosting costs come from a few components: the host (the self-hosting quickstart starts at a Linux VM with 1 CPU and 2 GB of memory, but production sizing is yours to set), a public domain, your identity provider, and staff time for backups, upgrades, scaling and restore testing. Costs rise with user and machine counts, with the need for SSO and audit logging, and with the uptime you commit to. Compare these against the plan features you need on NetBird's pricing page, then ask any implementation partner for a quote built from a written scope.

How long does a first self-hosted NetBird deployment take?

The time depends on your prerequisites, approvals and client rollout, so confirm the timeline in the written scope before work starts. The documented quickstart covers a single Linux host with Docker and the Compose plugin, a public domain, TCP ports 80 and 443 open, and UDP port 3478 open. A production rollout usually takes longer than the quickstart because of these drivers:

  • DNS records, public certificates and firewall changes, which often depend on other teams
  • Identity provider setup, including any external SSO provider you add to the embedded Dex
  • Access policy design, groups and device posture checks you want on day one
  • Client rollout to laptops, servers and mobile devices, with a test plan for each platform
  • Backup, restore and upgrade procedures documented before go-live

A lab can move quickly. A regulated production environment adds review, change control and evidence collection, and those steps set the schedule more than the install does.

Can an internal team run NetBird without an implementation partner?

Yes, an internal team can run a self-hosted NetBird deployment without a partner if it has the skills and time to keep it running. NetBird's documentation says self-hosted operators handle backups, upgrades and scaling themselves. The skills to check are Linux administration, Docker and Compose, DNS and TLS certificates, reverse proxy configuration, identity provider setup, firewall rules for UDP relay and STUN traffic, and tested backup and restore. Confirm that at least two people can cover upgrades and incidents, because a single administrator leaves the platform without cover during leave or turnover. A partner adds the most value where you need a written scope, hardening, integration with your SSO and logging, a documented handover, or an independent review of the setup. Compare the in-house effort with a quote built from the same written scope.

Is Kubernetes supported for self-hosted NetBird, and what should I ask?

Confirm Kubernetes support with NetBird in writing before you design around it. The documented self-hosting path uses Docker with the Compose plugin, one combined configuration for management, signal, relay and STUN, a dashboard container, a Traefik reverse proxy with Let's Encrypt by default, and an embedded Dex identity provider. Ask NetBird:

  • Which Kubernetes distributions and versions it supports, and whether it publishes Helm charts or manifests
  • How the combined configuration, the embedded identity provider and certificates map to Kubernetes objects
  • How relay and STUN UDP traffic reaches the cluster, and which load balancer setup it requires
  • How upgrades, state storage and rollback work for that model
  • What support covers a Kubernetes deployment under your agreement

Get the answers in writing, with version numbers, before you choose the model.

Can self-hosted NetBird run in high availability, and what does it need?

Confirm high availability with NetBird in writing before you commit to it. The documented self-hosting path is built around one Linux host running Docker Compose, so any multi-node design is an open question for NetBird. A highly available setup would need answers to several questions: where management state lives and how it is replicated, how relay and STUN traffic fails over between nodes, how the reverse proxy and TLS termination are load balanced, whether clients can reach a second relay endpoint, and how you test failover and restore. Each answer adds operating effort, monitoring and a formal change process. If uptime is the main requirement, a managed NetBird Cloud plan moves hosting and upgrade work to NetBird, though it also changes who runs the infrastructure your access policies depend on.

Does the AGPLv3 license affect us if we modify NetBird management or relay code?

Yes, the AGPLv3 applies to the management, signal and relay directories, so modifying those components triggers its terms. The rest of the repository is BSD-3-Clause, and the NetBird LICENSE file sets out that split. Under AGPLv3, the points that matter are whether you distribute the modified program and whether users interact with it over a network, since source-offer duties often turn on those facts. Internal use with no outside users can be treated differently from a hosted service for customers, but that line is a legal question. Have counsel confirm which directories you changed, whether modified code is distributed or offered to users over a network, how you publish your changes, and whether any NetBird trademark terms apply. This is not legal advice.

What does a DeployOpen fixed-scope NetBird engagement cover?

A DeployOpen engagement is fixed-scope, so the scope, deliverables and timelines are agreed in writing before work starts. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a NetBird project, a written scope typically lists:

  • Deployment model decisions for Docker, Kubernetes or virtual machines, limited to models NetBird confirms in writing
  • Installation, identity provider integration and access policy design
  • Backup, restore and upgrade procedures with a documented handover
  • Runbooks and documentation for your operators
  • Optional security testing of the setup, offered as a separate service

Ongoing support, upgrades and continuous testing are available as retainers. DeployOpen does not publish a price list, so ask for a quote built from your written scope. DeployOpen is not an official NetBird partner, reseller or certified provider.

How DeployOpen scopes and runs a NetBird deployment

DeployOpen scopes NetBird on Docker, Kubernetes or virtual machines against your own environment before any build starts. The written scope fixes what is deployed, how it is tested, what is documented and who is responsible for each step, so the platform choice rests on your sizing, availability and operating requirements. Engagements are fixed-scope, with ongoing support available as a retainer.

How we scope

  • The written scope names the target: Docker Compose, Kubernetes or virtual machines, agreed before work starts.
  • Sizing inputs include peer and user counts, network locations, and whether traffic must relay through a fallback path.
  • Identity scope covers whether NetBird's embedded Dex login is enough or an external SSO provider such as Okta is added.

How we build

  • Docker builds follow the NetBird quickstart: Linux VM, public domain, ports 80, 443 and UDP 3478, Compose plugin.
  • For Kubernetes and virtual machines, the install method, storage, ingress and TLS design are agreed in writing first.
  • Hardening covers admin settings, access policies, event logging and backup configuration, as set out in the scope.

How we hand over

  • Documentation covers the chosen topology, configuration files, upgrade steps and the backup and restore runbook.
  • Compliance evidence, such as access settings and logging configuration, is prepared for your independent assessors.
  • Handover includes the runbooks and a walkthrough of upgrade and restore steps with your operations team.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, quoted separately from the build.
  • NetBird's documentation puts backups, upgrades and scaling on self-hosting operators, so the retainer scope must name them.
  • Ask for each item in the quote: who runs backups, upgrades, scaling and incident response, and how often.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.