Outline on Docker vs Kubernetes vs VMs

Outline documents Docker and from-source installs on Unix-compatible hosts, so this page compares running it on Docker, Kubernetes or a VM by sizing, high availability, upgrades, backups and operating effort. It shows which team each model suits and what to confirm before you commit.

On this page

Outline self-hosted deployment: when Docker, Kubernetes or a VM fits

A team that must run Outline inside its own infrastructure should match the host model to what it already runs: Docker on a VM for a team with a dev-ops owner and no cluster to share, Kubernetes for a team already running clusters, and a from-source install on a Unix VM for a team that wants no container layer. The Kubernetes route only makes sense once you have confirmed with Outline that your planned setup is a supported route. Every option carries the same base requirements: PostgreSQL 14 or newer, Redis 4 or newer, at least 512MB of memory (1GB or more recommended), a dedicated domain and an authentication provider.

Outline states that running it in production requires dev-ops experience, so the host choice is also a staffing decision. Before you commit, name the person who owns upgrades, PostgreSQL and Redis backups, TLS renewal, restarts after a failed release, and the file storage choice between local disk and S3-compatible storage. Docker on a VM concentrates this work on one host and one owner, which is simpler to hand over, but it is a single failure domain unless you run more than one instance as the horizontal scaling section of the hosting guide describes. Kubernetes moves the same tasks into cluster operations, so the question becomes whether your platform team already runs that work for other services. Ask Outline or your implementation partner to confirm the upgrade and rollback path for each model in writing before the scope is signed.

The license sets a limit that the host model does not change. Outline's community edition is under the Business Source License 1.1, which forbids offering Outline to others as a service. Outline's hosting docs say that selling, reselling or hosting it as a service breaches those terms and automatically terminates license rights. This matters if the platform team plans to run one instance for subsidiaries, customers or partner staff, because a VM, a cluster and a from-source install all fall under the same restriction. Confirm with counsel whether your internal use, including use by affiliates, fits the license terms. Paid Business and Enterprise licenses add functionality and guarantees, so review them before you design any multi-tenant setup.

Docker on a VM host vs a Kubernetes cluster for Outline

This table compares running Outline as a Docker container on one virtual machine host against running it on a Kubernetes cluster, across install, components, sizing, high availability, upgrades, backups, skills and cost. Read each row as work your team would carry. The main takeaway: Kubernetes adds platform work that only pays off if your organization already runs clusters. Where chart or manifest details depend on Outline's guidance, confirm them with Outline first.

DimensionDocker on a VM hostKubernetes cluster
Install pathDocker install from Outline's hosting docs, run on a Linux VM you manageDeploy through your own manifests or chart. Confirm any chart or manifest set with Outline before use
Components your team runsOutline container, PostgreSQL 14+, Redis 4+, file storage, reverse proxy and an authentication providerThe same services plus the cluster control plane, ingress, persistent volumes, secrets and monitoring
Sizing leversVM CPU and memory, container limits and storage. Outline recommends at least 1GB of memory for productionReplica counts, resource requests and limits, node pool size and horizontal scaling per Outline's guidance
High availability designOne host is a single point of failure unless you add a second host, load balancing and a managed or replicated databasePods can spread across nodes, but PostgreSQL, Redis and file storage must also be highly available
Upgrade pathPull the new image and restart in a maintenance window. Your team owns rollback and migration checksRolling updates run by the platform team. Check each release's notes for migration steps before rollout
Backup scopeDatabase dump, file storage, configuration, reverse proxy settings and VM snapshotsDatabase, file storage, secrets, Helm values or manifests in version control and cluster restore procedures
Skills requiredLinux administration, Docker, PostgreSQL and proxy operations. Outline notes production use requires dev-ops experienceAdds Kubernetes operations, ingress, storage classes and secrets handling on top of the same database and proxy skills
Main cost driversHost and storage, staff time for patching and restores, and a Business or Enterprise license if you need SAMLCluster capacity and platform engineering time, monitoring, plus the same database, storage and licensing costs

Components of an Outline self-hosted deployment

Self-hosted Outline is several components that you run yourself, and each one maps to a different part of your host model. The six items below are the minimum documented set, and the decisions they force are where Docker, Kubernetes and VM deployments diverge. Read the identity provider and domain choices first, because they affect every other component.

The Outline application

Outline ships as a Docker image or as a from-source installation, and its hosting docs state that running it in production requires dev-ops experience. The host model decides who owns each upgrade: on Docker you pull and restart a container, on Kubernetes you manage manifests and rollouts, and on a VM you maintain the operating system and the application together. Confirm that your team can run that cycle for the release you pick, since v1.11.0 was published on October 12, 2026 and upgrades follow the project's own release pace.

Hosting Outline docs

PostgreSQL 14 or newer

The documented requirement is PostgreSQL 14+, and self-hosted Outline needs it regardless of which host model you choose. The database's operating model is the main host-model decision: on Docker it is often a separate container or a managed service you connect to, on Kubernetes it is a stateful workload or an operator, and on a VM it is a package you patch and back up yourself. Ask who owns backups, point-in-time recovery and major version upgrades, because those tasks land on your team in every model. Managed services shift some of that work, but confirm what they cover before you assume it.

Redis 4 or newer

The documented requirement is Redis 4+, and it is easy to overlook because it sits beside the database in most architecture diagrams. Treat Redis as a stateful service with its own failure mode, whether it runs as a container beside Outline, a deployment in the cluster, or a package on the VM. Ask who sets persistence, monitoring and restarts, and check the Outline requirements doc for how the application behaves when Redis is unavailable before you agree on an availability target. Put Redis patching on the same calendar as Outline upgrades.

File storage, local or S3-compatible

Outline's hosting docs cover local file storage and S3-compatible object storage, and the choice changes what you back up and how instances share data. Local storage keeps uploads on a host or volume you manage, so check whether every instance you run can reach the same storage path. S3-compatible storage moves that state into a bucket you provision, encrypt and back up separately, and it often suits deployments where instances move between hosts. Confirm with the hosting docs how horizontal scaling works with each option before you pick a host model.

An identity provider

Outline does not support email and password sign-in natively, so an identity provider is required before any user can log in. The hosting docs cover Google, Microsoft Entra, Slack, OIDC, Discord, GitLab, passkeys and email magic link sign-in. SAML is available only in the Business and Enterprise editions, so a SAML-only identity provider also decides your license. Choose the provider first, because its redirect settings and client secrets must match the public domain in every environment you run.

Authentication docs

Dedicated domain with TLS

Self-hosted Outline requires a dedicated domain, which the requirements doc lists alongside the database and cache. The domain is also the callback address your identity provider trusts, so a rename typically breaks sign-in until each provider is updated. Terminate TLS at a reverse proxy, load balancer or ingress that your team already operates: a proxy container on Docker, an ingress controller on Kubernetes, or a web server on a VM. Confirm who renews certificates, how they reach each environment, and how redirect settings change during cutover.

Outline requirements

How requests and data move through a self-hosted Outline

Requests start in the user's browser and reach the reverse proxy on the dedicated domain, then the Outline application inside the client's infrastructure. Sign-in goes to an external identity provider, which sits outside the boundary. Inside, Outline reads and writes PostgreSQL, uses Redis, and stores attachments in local or S3-compatible file storage. Confirm that the database, cache and storage each have a documented high availability design before go-live, because the requirements list versions and resources but do not define that design for you.

Requests enter through one proxy, while data stays inside the client's boundary.

What a from-source VM install changes for upgrades and skills

A from-source install on a virtual machine removes the container layer, but it does not remove the operating work. Outline's hosting docs cover both Docker and from-source installation, and the difference comes down to ownership. On a from-source VM, your team owns the runtime and build dependencies, the process supervisor that starts and restarts Outline, patching of the host operating system, and every upgrade to PostgreSQL, Redis and the other dependencies. Ask your platform team which of these already run through configuration management and which stay manual, because each Outline release means rebuilding and retesting your own environment before it reaches users.

Platform scope is the first gate. Outline runs only on Unix-compatible systems, so Windows hosts are excluded from this option before sizing or cost is discussed. Confirm the exact distribution and release your security team will approve against Outline's requirements doc, which also sets PostgreSQL 14 or newer, Redis 4 or newer and at least 512MB of memory, with 1GB or more recommended. The rollback plan is the hard part. A container image gives you a known previous state, but a VM gives you no image to roll back to. Before each upgrade, take a host snapshot and a PostgreSQL backup, keep the previous application build on disk, and rehearse the revert on a staging copy so your team can troubleshoot the running application directly if it fails.

The skills gap is the part teams most often underestimate. Outline's hosting docs say it requires dev-ops experience to run in production, so the engineers on call need to read process logs, test PostgreSQL and Redis connectivity, spot memory pressure against the 1GB recommendation, and trace a failed request through the proxy or load balancer in front of the application, if you use one. Name more than one person who can perform each of these tasks, and have them run a staged upgrade and a rollback before go-live. Ask any implementation partner for a written runbook that covers each dependency, the upgrade order and the troubleshooting steps, so the knowledge does not stay with one contractor.

Upgrades, backups and monitoring for each Outline self-hosted deployment

This table compares upgrades, backups, monitoring, failover and skills for a self-hosted Outline instance on Docker on a virtual machine and on Kubernetes. Read each row as the work your team owns in that model, and treat the Kubernetes column as provisional until Outline confirms its upgrade route. The main takeaway is that the backup and restore steps are the same in both models, so your team's operating skills should decide the choice.

AreaDocker on a VMKubernetes
Upgrade stepsChange the image or source version, follow the release notes, then restart. Read v1.11.0 notes (published October 12, 2026) before each upgrade.Same version logic, applied through your deployment manifests. Confirm the supported upgrade route with Outline first.
Backup scopePostgreSQL database and file storage, backed up together as a matched pair from the same point in time.The same matched pair, plus the manifests, secrets and volume definitions that rebuild the deployment.
Restore testingRestore the database and file storage onto a separate host and check that documents and attachments match.Restore into a separate namespace or cluster and check that documents and attachments match.
MonitoringHost metrics, container health and PostgreSQL and Redis checks through your existing monitoring tools.Pod health, restarts and resource pressure through the cluster's monitoring stack, plus the same PostgreSQL and Redis checks.
Failover and scalingOne host by default. Failover means restoring the matched pair onto a standby host.Outline's hosting docs cover horizontal scaling. Confirm which components you may run as multiple replicas.
Skills requiredLinux administration, Docker, reverse proxy and TLS, and PostgreSQL backup and restore. Outline says production use requires dev-ops experience.Cluster operations, persistent volumes, ingress and secrets, on top of the VM skills.

How to plan an Outline upgrade before touching production

This sequence takes an Outline upgrade from a release note to a signed-off production change in five steps, with a tested rollback point in place before any production change. It applies to Docker, Kubernetes and virtual machine deployments alike, because the database and file storage are the same moving parts in each.

  1. Read the release notes for the target version

    The platform owner reads the release notes for the target version on the outline/outline releases page and reviews every change between the current and target versions. They list breaking changes, database migrations, changed environment variables and any change to the supported PostgreSQL or Redis versions, checked against Outline's requirements. For example, if the target were v1.11.0 (an illustrative version), the owner would check that release's notes for migrations before scheduling anything. Done when each item on the list has an owner and a decision on whether it affects this deployment method.

  2. Rehearse the upgrade on copied data

    The platform engineer restores a recent copy of the PostgreSQL database and the file storage into a non-production environment built the same way as production, whether that is a Docker Compose stack, a Kubernetes namespace or a VM. Outline needs PostgreSQL 14 or later and Redis 4 or later, so the rehearsal confirms those versions match. The engineer runs the target version's migrations, starts the application and logs every error and the time each stage took. Done when the upgrade completes without manual database edits, and the team has a runbook that another engineer could follow.

  3. Back up database and storage together

    The platform owner takes a backup of the PostgreSQL database and the file storage at the same point in time, so attachments and the pages that reference them stay in step. For a local volume, use a copy taken while writes are paused. For S3-compatible storage, confirm with the provider how object versions and deletions are retained. Restore the backup into a scratch environment and check that a sample of pages and attachments opens. A rollback plan is only as good as the last tested backup, so the step is done when that restore test passes and the backup location is recorded in the change ticket.

  4. Apply the upgrade in an agreed window

    Agree the maintenance window with the business owners of the knowledge base and the teams that link to it, and announce a freeze on edits for that period. The engineer then applies the change using the rehearsed runbook: pin the new image tag in Docker Compose, roll the Kubernetes deployment, or stop the service, update the application and start it on a VM. Check the release notes for how migrations run, then start the new version. Done when the services report healthy, the rollback point is still recorded, and the business owner has confirmed the window can close.

  5. Verify sign-in, documents and file access

    The platform owner and a named tester check the production instance against a written list: sign in with the configured provider, open pages across several collections, search for known content, and download an existing attachment. If the deployment uses SAML, which requires the licensed Business or Enterprise edition, test that flow too. Outline has no native email and password sign-in, so confirm an administrator can still reach the instance if the provider fails. Record each result against the list. Done when the owner signs off every check, and any failed check has led to a rollback to the tested backup.

Sizing and high availability: what the documented minimums cover

The documented minimums for self-hosted Outline are a floor for a working install, not a sizing plan. Outline's requirements call for PostgreSQL 14 or newer, Redis 4 or newer, at least 512MB of memory with 1GB or more recommended, a dedicated domain, an authentication provider and a Unix-compatible host. Those figures describe a single instance starting up. They say nothing about how many people will edit and search at the same time, how fast your attachment library will grow, or how many imports and integration webhooks will run in parallel. Treat the memory figure as a starting value for your own tests, and record memory, CPU, database connections and response times at your expected peak. Those measurements should decide the instance count and whether PostgreSQL and Redis need dedicated capacity.

Outline's hosting docs cover horizontal scaling, but adding application instances does not make the rest of the stack highly available. High availability for PostgreSQL, Redis and file storage is a separate design, and the client must confirm each one. For PostgreSQL, confirm whether you run a managed service or a replicated cluster with automated failover. For Redis, confirm whether replication exists and what users experience during a failover, since sessions and cached data may be lost or rebuilt. For file storage, confirm whether local disk or S3-compatible storage is replicated, and test restoring attachments from backup. Whether you run Docker, Kubernetes or virtual machines, each of these components needs a named owner before go-live.

Load testing should come before the model decision. Build a test that matches your own user count, concurrency pattern and integration traffic, including search, large document imports and sync from connected tools. Run the same workload against each candidate model so the results are comparable. Ask whoever will operate the system to show failover test results for PostgreSQL, Redis and storage, and to confirm which scaling pattern your Outline version supports. If the test shows headroom only with dedicated database or cache hosts, record that as a cost in the written scope, because it changes the effort and cost comparison for each model.

Outline self-hosted deployment questions buyers ask before hiring help

What does running Outline on Docker, Kubernetes or VMs cost over time?

Cost comes mostly from people and recurring upkeep, and the host model changes how much of each you carry. The community edition carries no license fee, but paid Business or Enterprise licenses are a separate line item if you need SAML or support, and you should confirm current terms with Outline. Infrastructure covers the same parts on every model: the Outline application, PostgreSQL, Redis, file storage and a load balancer. Docker on VMs keeps the platform layer small. Kubernetes adds cluster operation that your team maintains all year. Bare VMs leave patching, scaling and failover to your staff. Ask any implementation partner to separate one-time setup from recurring run costs, and to show who pays for upgrades.

How long does it take to set up self-hosted Outline?

Setup time depends on the written scope and the host model together. A scope that covers one Docker host with local storage, a single PostgreSQL and Redis pair and one sign-in provider is a much smaller job than a multi-node cluster with S3-compatible storage, horizontal scaling, backup testing and SSO configured for several teams. Confirm the duration in the statement of work, which DeployOpen and the client agree in writing before work starts. Each host model adds its own checkpoints: image builds and manifest reviews for Kubernetes, host hardening and process supervision for VMs. Agree on acceptance tests, such as a restore test and a login test, so that done has a shared meaning. Timelines in a quote should list dependencies on your network, identity and change approval teams.

Can our team run self-hosted Outline without outside help?

Only if your team already has dev-ops skills for this stack. Outline's hosting documentation says running it in production requires dev-ops experience, so plan for that skill before choosing a host model. The work covers provisioning PostgreSQL and Redis, configuring a reverse proxy and TLS, wiring an authentication provider, managing file storage, running upgrades and restoring from backups. Kubernetes adds container orchestration and cluster networking skills, while VMs add OS patching and process management. A team with those skills can run it, but confirm that someone owns each upgrade, that backups are tested and that cover exists when the one engineer who knows the setup is away. If the skills are thin, DeployOpen can implement, harden, back up, upgrade and document the setup inside your infrastructure, with ongoing support available as a retainer.

Is Kubernetes an officially documented way to host Outline?

Outline's hosting documentation covers Docker and from-source installation. Treat Kubernetes as undocumented until Outline confirms otherwise in writing. Ask Outline whether it publishes or supports Kubernetes manifests or charts, which versions it tests, and how it handles database migrations during rolling upgrades. A chart or manifest from another source moves upgrade and support risk onto your team, and you should budget for container image builds, configuration review and upgrade testing either way. If Kubernetes is already your standard platform, ask whether Outline's supported path can run inside your existing cluster without a custom build, and who answers for it when an upgrade breaks.

What does the Outline Business Source License allow for internal use?

The license text decides this, so have counsel read it against your planned use. Outline's community edition is licensed under the Business Source License 1.1, which is an unofficial open source license under the OSI definition. It forbids using the software as a Document Service or as a commercial offering that lets third parties create their own teams and documents. Outline's hosting docs also say that selling, reselling or hosting it as a service breaches the terms and automatically terminates license rights. For Outline 1.11.0, the license file names Apache License 2.0 as the change license, with a change date of October 12, 2030. Confirm with Outline how your internal use maps to these terms before you deploy.

What should we ask for in a quote for Outline hosting help?

Ask for a written scope before you compare numbers. DeployOpen does not publish a price list, and the quote follows from the agreed scope, deliverables and timeline. Ask the quote to show:

  • The host model, the components in each layer and who runs each one
  • Which work is one-time (setup, hardening, first documentation) and which recurs (upgrades, backup restore tests, support)
  • The authentication provider and whether SAML is in scope, which depends on a Business or Enterprise license from Outline
  • Who handles Outline upgrades and platform upgrades, and how often the scope includes them
  • Acceptance tests, including a restore test
  • Assumptions about your cloud accounts, network access and change approvals

Also ask which items are excluded and how change requests are handled after work starts.

Which services must we run for Outline besides the app itself?

Outline needs PostgreSQL 14 or newer, Redis 4 or newer, a dedicated domain, an authentication provider and file storage, which can be local or S3-compatible. Plan for at least 512MB of memory, with 1GB or more recommended, on a Unix-compatible system, and check the requirements for the current list. Outline does not support email and password sign-in natively, so choose from the providers its docs cover, such as Google, Microsoft Entra, Slack, OIDC or email magic link. SAML is only in the Business and Enterprise editions. Ask who will run PostgreSQL backups, Redis availability, certificate renewal and storage monitoring, since your team operates these services on every host model.

How DeployOpen scopes and runs a self-hosted Outline

DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For Outline, the Docker, Kubernetes or virtual machine choice is decided against your cloud accounts, data center or air-gapped network, with PostgreSQL, Redis, file storage and the authentication provider set up as part of the written scope.

How we scope

  • The written scope names the Outline version, the deployment target (Docker, Kubernetes or VMs) and the hosting environment.
  • Scope lists the PostgreSQL 14+ and Redis 4+ components, the file storage choice and the authentication provider you run.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any work starts.

How we build

  • Set up Outline with Docker or from source, and confirm any Kubernetes or VM path against your own requirements.
  • Configure a supported sign-in provider, because Outline does not offer native email and password login.
  • Test scaling, backups and restores on the chosen topology, and document the operating runbook for your team.

How we hand over

  • Deliver configuration records, architecture documentation and the runbook for upgrades, backups and restores.
  • Walk the platform team through the deployed setup so operators can run upgrades and restores themselves.
  • Prepare the controls and evidence your compliance team needs for review, while independent auditors issue any formal assessment.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, with scope agreed in writing.
  • Each Outline upgrade is tested against your setup in staging before it reaches production users.
  • Confirm response windows and escalation paths in the retainer before you sign.

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.