Ghost on Docker vs Kubernetes vs VMs

Ghost's documented self-hosted paths are an Ubuntu install with Ghost-CLI and a Docker Compose install, so the choice between Docker, Kubernetes and VMs depends mostly on the skills and standards your team already runs. This page explains which model fits which team and what each one asks you to own.

On this page

Ghost on Docker vs Kubernetes vs VMs: which model fits which team

The documented self-hosted paths for Ghost are a Ghost-CLI install on Ubuntu, typically on a virtual machine, and a Docker Compose install, so a team choosing a deployment model is really choosing between those two and a Kubernetes setup it builds itself. Pick the Ubuntu host model if your team already patches Linux servers and does not need web analytics, since Ghost's install guide says Ghost-CLI installs do not support web analytics. Pick Docker Compose if you need web analytics or the ActivityPub service, because Ghost documents a separate Compose install for those. Any Kubernetes setup is one your team builds, and it must be checked against Ghost's own documentation before it goes into production.

A host install on Ubuntu suits a team that already runs Linux servers on a patch calendar. Ghost's Ubuntu install guide lists Ubuntu 22.04, 24.04 or 26.04, MySQL 8.0 or 8.4, NGINX 1.9.5 or later, systemd and at least 1 GB of RAM, with installation through Ghost-CLI. Those are minimums, so confirm sizing against your expected member and traffic load before you choose an instance size. Check that your OS release is one the guide lists, and name the owner for OS patches, MySQL patches, NGINX updates and TLS certificate renewal. Ghost ships frequent minor releases, so the owner of the upgrade window matters as much as the initial install.

Docker Compose sits between the host install and Kubernetes. It is a documented path that packages Ghost and its supporting services in one file, but a single Compose host still needs the same patching, backup and restore discipline as a virtual machine. Kubernetes adds a layer your team designs itself: the container image, persistent storage for content, database high availability, ingress, secrets, backups and a test run before each Ghost upgrade. Ghost's documentation will not settle those choices for you, so check each one against Ghost's own docs. Ask who on your team already runs those pieces for other workloads and who is on call when a rollout fails. The decision turns on existing skills, patching standards and on-call capacity more than on Ghost itself.

How Docker, Kubernetes and VMs compare on upgrades, HA and effort

This table compares how Ghost runs on Docker Compose, Kubernetes and virtual machines across install path, host requirements, analytics and ActivityPub support, high availability, upgrades, backups, operating skills and cost drivers. Read the Ubuntu host requirements as the documented Ghost-CLI route, and treat any cell that says to confirm as an open question for your own design review. The main takeaway is that Docker Compose is the documented route for web analytics and ActivityPub, while Kubernetes and high availability depend on decisions you will make and confirm yourself.

FactorDocker ComposeKubernetesVirtual machines
Install pathDocumented Docker Compose install for self-hosting Ghost, separate from the Ghost-CLI route.Confirm whether Ghost publishes a supported Kubernetes chart or manifest. Documented self-host paths are Ghost-CLI on Ubuntu and Docker Compose.Ghost-CLI install on Ubuntu, following Ghost's Ubuntu install guide.
Host requirementsDocker Engine and Compose on a Linux host. Confirm supported OS and Docker versions with Ghost's self-hosting documentation.Cluster with persistent storage and a MySQL 8.0 or 8.4 database. Confirm supported Kubernetes versions with your cluster team.Ubuntu 22.04, 24.04 or 26.04, supported Node.js, MySQL 8.0 or 8.4, NGINX 1.9.5 or later, systemd, 1 GB RAM minimum.
Web analytics and ActivityPubDocumented path for self-hosting web analytics and the ActivityPub service.Not covered by a documented procedure here. Confirm whether both services can run in your cluster before you commit.Ghost-CLI installs do not support web analytics. Use Docker Compose if you need analytics or ActivityPub.
High availabilityConfirm whether Ghost supports multiple replicas for Compose and how sessions and uploads are shared.Replica count, shared storage and database high availability sit with your team. Confirm Ghost's multi-replica guidance first.One VM is a single point of failure unless you add a second node, a shared database and a load balancer. Confirm the design with Ghost.
Upgrade pathFrequent releases, including 6.71.0 on October 15, 2026 (GitHub releases). Confirm image tags and upgrade steps for your version.Image pinning, rollout and rollback run through your pipeline. Confirm Ghost's supported upgrade order before you automate it.In-place update on the host you maintain. Take a backup and confirm the update steps for your version first.
Backup scopeDatabase volume, content volume, Compose files and environment settings. Confirm the full volume list for your setup.Database, persistent volumes, and cluster manifests or Helm values. Confirm which content path Ghost writes to in your deployment.MySQL database, Ghost content directory and Ghost configuration. Confirm the exact paths for your install.
Operating skillsDocker Compose, Linux, MySQL, and a reverse proxy such as NGINX.Kubernetes operations, storage classes, ingress, secrets and MySQL administration. Usually needs a platform team.Linux administration, systemd, NGINX, MySQL, TLS renewal and Node.js runtime updates.
Cost driversHost count and size, storage, and the analytics or ActivityPub services you run. Ask for each in quotes.Cluster footprint, any managed control plane fees, storage and platform staff time. Ask for each line item in quotes.Number of VMs, OS support if you buy it, storage and admin time for patching. Ask your provider for current VM pricing.

What each deployment model adds around the Ghost process

Ghost is one Node.js process, and each deployment model wraps it in a database, a reverse proxy and a host layer. The wrapping decides who patches, backs up and restarts each part, so check these components against your model before you compare costs.

Ghost runs on Node.js

Ghost is a Node.js application, and its Ubuntu install guide asks for a supported Node.js version, with Node 22 as the example. On a VM, your team manages that runtime through OS packages or a version manager. In Docker or Kubernetes, the runtime sits inside the image, so the team that builds images owns the Node.js version. Ghost ships frequent minor releases, with 6.71.0 published on October 15, 2026, so check which Node.js version each target Ghost release supports before you schedule an upgrade. Ask who owns that check in each model.

Ghost repository

MySQL 8.0 or 8.4 database

Ghost's Ubuntu install guide lists MySQL 8.0 or 8.4 as the database. On a single VM, the database and Ghost typically share one host, so a host failure takes out both. In Docker Compose or Kubernetes, you choose between a database container with persistent storage and an external managed MySQL service, and that choice changes who handles backups, patching and failover. Confirm the backup and restore procedure covers the database and the Ghost content files together. Ask any managed MySQL provider which 8.0 or 8.4 versions it offers and how it schedules patches.

NGINX reverse proxy

The Ubuntu install guide places NGINX in front of Ghost, at version 1.9.5 or later. NGINX terminates HTTPS, forwards requests to the Ghost process and holds the site's certificates and hostname routing. On a VM, you edit its site configuration by hand. In Kubernetes, an ingress controller usually takes this role, so confirm which component terminates TLS and who renews the certificates before you compare the models. Also confirm which team patches the proxy, since that ownership often differs between a VM and a cluster.

Host layer: systemd, Compose or Kubernetes

This layer decides what restarts Ghost after a crash or reboot. On a VM, the Ubuntu guide uses systemd, and the host needs at least 1 GB of RAM for Ghost. With Docker Compose, restart policies and named volumes control the same behavior. With Kubernetes, workloads, services and ingress are declared in manifests that your cluster team must own. Check who patches the host or cluster, and how a failed Ghost container or pod is detected and restarted. Ask for the recovery steps in writing before you choose a model.

Web analytics and ActivityPub

Ghost-CLI installs do not support Ghost's web analytics. Ghost documents a separate Docker Compose install for self-hosting web analytics or the ActivityPub service, so teams that need either service must use that path or add Compose services alongside a VM install. Each optional service brings its own containers, data volumes and upgrade cycle. Confirm which optional services you need before you choose the VM path, and confirm with Ghost's documentation whether adding them later is an in-place change or a reinstall.

Ubuntu install guide

How requests and data move through a self-run Ghost install

Requests start in the reader's browser and reach a load balancer or NGINX inside the client's network. From there they go to the Ghost process on a Ghost-CLI host, or to Ghost pods if the team runs Kubernetes. Both paths end at MySQL, which holds the content and member data. The Kubernetes branch is drawn generically (ingress and pods) because the team's setup is not yet confirmed. The Docker Compose analytics and ActivityPub services are a separate install, so they are drawn outside the main request path. Before you rely on this map for a review, confirm which proxy terminates TLS, which hosts can reach the database, and how the separate services are routed.

Request and data path from the browser to MySQL, inside the client's own infrastructure.

Why the Ghost-CLI install and the Docker Compose install are not interchangeable

Pick the Docker Compose route before you build if web analytics or the ActivityPub service are on your requirements list. Ghost's Ubuntu install guide states that Ghost-CLI installs do not support Ghost's web analytics, and it documents a separate Docker Compose install for teams that need analytics or ActivityPub. A team that starts on Ghost-CLI and adds analytics later should not expect a setting change to close the gap. The move means standing up a second, container-based stack and migrating the site and its data across, so the analytics requirement belongs in the first design review, with a named owner who signs off on it.

The two routes hand you different operating work. On the Ghost-CLI route you run an Ubuntu host on a supported release (22.04, 24.04 or 26.04), a supported Node.js runtime, MySQL 8.0 or 8.4, NGINX 1.9.5 or later, and systemd to keep Ghost running, with at least 1 GB of RAM. You also own TLS certificates, patching of every package on that host, and database backups. The Docker Compose route moves Ghost and its dependencies into containers, so your team also owns image versions, the Compose file, persistent volumes, container restarts and the upgrade order across services. Confirm which of these services the Compose install runs for you and which you must provide. In both routes, the host, the certificates and the backups stay with your team.

Treat a later switch between routes as a migration project with its own scope and sign-off. The scope should list the database export and import, the content and media files, theme and integration settings, member and email configuration, the DNS and certificate cutover, and a rollback plan for the period when both hosts exist. Ask any implementation partner to put that list into the written scope before work starts. Before committing to either route, confirm each step against the official Ghost Ubuntu install guide, including supported operating system releases, Node.js requirements and the Docker Compose instructions for analytics or ActivityPub, because supported versions change across Ghost releases.

Upgrades, backups and monitoring for each deployment model

This table compares who handles upgrades, backups, monitoring, rollback, skills and paging for Ghost on Docker Compose, Kubernetes and virtual machines. Read each row as a question about who does the work and what you must test first. The main takeaway is that each route shifts ownership of these tasks to a different team, so confirm every upgrade method in the official docs and your own test environment before you commit.

AreaDocker ComposeKubernetesVirtual machines
Release cadenceGhost ships frequent minor releases, from 6.0.0 on August 4, 2025 to 6.71.0 on October 15, 2026. Plan a recurring image update window.The same cadence means a recurring image or chart bump, tested in a non-production cluster first.The same cadence means recurring Ghost-CLI updates, with Node.js and MySQL compatibility checks each time.
Upgrade processChange the image tag in Compose, pull and recreate the containers. Confirm the method in the official docs and your test environment.Change the image tag through your release pipeline or Helm values. Confirm migration order in a test cluster.Upgrade through the Ghost-CLI install path. Confirm the update command and prerequisites in the install guide for your version.
Backup scopeDatabase dump, the content volume and Compose configuration files. Test a restore from the volume backup.Database backups plus persistent volume snapshots for content. Confirm your storage class supports snapshots and test restores separately.MySQL dump plus a VM snapshot or file copy of the Ghost content directory and config. Snapshots must match the database state.
Monitoring and log ownershipYour team owns container logs, host metrics and any analytics or ActivityPub containers you enable.Your platform team owns cluster logging and alerting. Ghost, NGINX ingress and database metrics need explicit collection.Your team owns systemd journal, NGINX and MySQL logs plus host metrics. Confirm retention against your audit requirements.
Rollback approachRedeploy the previous image tag. Restore the database backup if a migration changed data. Confirm downgrade support in the docs.Roll back the Deployment or Helm release to the prior revision. Data rollback depends on a snapshot taken before the upgrade.Restore the pre-upgrade VM snapshot, or reinstall the prior version and restore the database dump.
Operator skillsDocker and Compose, Linux administration, NGINX as a reverse proxy, and MySQL 8.0 or 8.4 administration.Kubernetes, Helm or manifests, ingress and NGINX, MySQL operations, plus Linux for node work.Linux administration, systemd, NGINX, MySQL 8.0 or 8.4 and Node.js upkeep. Ghost-CLI covers much of the install.
Who is pagedThe host on-call engineer handles restarts, disk and database alerts. Name a Ghost owner for application errors.Platform on-call handles cluster and node failures. The Ghost owner is paged for application or migration faults. Confirm escalation in writing.Infrastructure on-call handles host, NGINX and MySQL faults. Confirm whether the same team owns Ghost application errors.

Which team each deployment model suits

A small publishing team with one Linux administrator fits a single-host install best. That administrator owns the server, the MySQL database, the NGINX front end and each Ghost upgrade, so the work stays small and visible. Ghost documents an Ubuntu install through Ghost-CLI, which keeps the number of moving parts low. Choose this model when the site and staff workflow fit on one well-maintained server and one named person can answer for it.

  • Setup: one Ubuntu host (22.04, 24.04 or 26.04) with at least 1 GB of RAM, running Ghost, MySQL 8.0 or 8.4, NGINX and systemd, installed through Ghost-CLI.
  • Skills: Linux administration, MySQL backup and restore, NGINX and TLS certificates, and DNS and email setup for newsletters.
  • Upkeep: a scheduled update window and a tested backup before each Ghost update, since Ghost ships frequent minor releases.
  • Wrong call when: nobody on the team has restored the database from a backup, or web analytics or the ActivityPub service becomes a requirement, because Ghost-CLI installs do not support web analytics and the documented route for it is a separate Docker Compose install.

Before you commit, check the Ghost Ubuntu install guide for current supported versions and test one full restore on a copy of the server.

Sizing and high availability: what the documented minimums tell you

The documented Ubuntu minimum of at least 1 GB of RAM marks the lowest starting point for a Ghost-CLI install, and it says nothing about the load your site will carry. Capacity depends on page traffic, the number of members, how many staff sign in to Ghost Admin, and how many newsletter emails you send, because each send adds load to the server and to the mail path. Before choosing a size, have your team measure current peak traffic, member growth and the send schedule for the next year. Also confirm the sizing of the MySQL 8.0 or 8.4 database and the NGINX layer that the Ubuntu install requires, since they draw on the same host resources. On Docker or Kubernetes, set memory and CPU requests from a load test that includes a full newsletter send, and treat the install minimum as a floor only.

The official Ghost Ubuntu install guide does not describe a high availability design for Ghost on Docker or on Kubernetes. Treat replica support, session handling, shared content storage and database failover as open questions until Ghost's documentation confirms each one for your version and your install method. Turn them into a test plan: run two instances behind a load balancer if your design uses one, sign in through the balancer, upload an image and confirm it appears on the second instance, then stop the primary database and record what fails and how long recovery takes. Put any answer that matters to your contract in writing, and ask Ghost to confirm it for the exact version you deploy.

What running Ghost yourself costs and needs from your team

What drives the cost of running Ghost on Docker, Kubernetes or a VM?

Staff time is the largest cost in all three models, and infrastructure is often the smaller line item. Each model adds recurring work: patching the operating system, Ghost, MySQL and NGINX, watching uptime and backups, and scheduling upgrade windows. Kubernetes adds cluster maintenance on top of that, and a VM adds OS patching for every host. Ghost(Pro) gives a published reference point: the Ghost pricing page lists Starter at $18 per month with 1 staff user and 1,000 members, billed yearly, plus Publisher at $29 per month and Business at $199 per month. Self-hosting removes that subscription but not the labour. Ask any provider to price each recurring line separately: on-call coverage, monitoring, backup storage and the number of upgrade windows per year.

Can one administrator run Ghost with Docker Compose on one host?

Yes, for a single site, one administrator with container and Linux skills can run a Docker Compose stack on one host, but the work does not end at install. Ghost's Ubuntu guide notes that Ghost-CLI installs do not support web analytics and that a separate Docker Compose install is documented for self-hosting web analytics or the ActivityPub service, so choose Compose if those features matter. The administrator still owns host patching, TLS certificates, database backups, restore tests and Ghost version updates, which arrive as frequent minor releases such as 6.71.0 on October 15, 2026. A single host is also one failure domain, so a host outage takes the whole site down. Confirm whether one person can cover holidays and incidents. If not, plan a second trained person before launch.

When is Kubernetes overhead justified for a Ghost deployment?

Kubernetes is justified when the platform team already runs clusters, has the skills to operate them, and needs scheduling, rolling updates or shared cluster controls that a single Ghost site does not require. For one publication on one host, the cluster is overhead: you add control plane upkeep, ingress management, persistent storage for content, and a second set of upgrade cycles on top of Ghost itself. The case gets stronger when several Ghost sites, a shared cluster policy or a standard GitOps workflow already exist. Ghost's install guidance describes a single server running Ghost-CLI, MySQL, NGINX and systemd, so on a cluster your team maps each of those pieces to its own workloads. Ask whether the cluster will host other services, because the operating cost is shared only when it does.

How long does a first Ghost deployment take?

No reliable duration exists without a written scope, so ask for a timeline tied to that scope. The variables are the hosting model, the number of sites, whether content migrates from WordPress, the authentication and email setup, and whether analytics or ActivityPub need the Docker Compose route. Ghost's WordPress migration documentation says custom post types, most uncommon shortcodes and content-restriction plugins do not migrate, so a site that relies on them needs extra mapping work before cutover. Ask the provider to list each milestone, who performs it, what your team must supply (such as DNS records, sender accounts for email and approvals), and what counts as done. DeployOpen plans most engagements as fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

Are DeployOpen Ghost engagements fixed-scope and agreed in writing before work starts?

Yes, most DeployOpen engagements are fixed-scope, and the scope, deliverables and timelines are agreed in writing before work starts. That written scope sets the cost, so read it for the items that drive effort: which hosting model is in scope, how many sites and users, what content is migrated, which integrations are configured (such as SSO, email and analytics), what documentation and handover you receive, and what is excluded. Ongoing support, upgrades and continuous testing are available as retainers, which are separate from the initial build and recur over time. DeployOpen does not publish a price list, so a quote follows from the written scope. Ask how a change in scope is priced and approved before the work begins.

What should I ask for in a quote for a self-hosted Ghost project?

Ask for a quote that maps to the written scope line by line, with each deliverable, the environment it runs in and the acceptance criteria. Separate one-time work from recurring work: the initial build, hardening, migration and handover are one-time, while retainers for support, upgrades and continuous testing recur. Ask which party owns each item, including cloud accounts, DNS, the database, transactional email, backup storage and monitoring. Confirm the targeted Ghost, Node.js and MySQL versions and how minor releases will be applied. Ask whether the quote includes an upgrade window, a restore test and a rollback plan. Finally, ask what your own team must provide and how long its reviews take, since those waits can extend the timeline.

Can I move Ghost from a VM to Kubernetes later, and what does it touch?

Yes, a move is possible, but it touches more than the Ghost files. The migration covers the content database, the content directory with images and themes, environment configuration such as the site URL and mail settings, the reverse proxy in front of Ghost, and the DNS and TLS cutover. Take a full backup and test the restore before any cutover, and keep the VM running until the cluster copy serves traffic. Confirm that the Ghost and MySQL versions match on both sides before data moves, because a mismatch can block the restore. Storage needs a decision as well: persistent volumes must hold the content directory, and the database should stay on a stateful service with its own backups. Ask the provider to list each of these items in the scope, along with the rollback steps if cutover fails.

How DeployOpen scopes and runs a Ghost deployment in your infrastructure

DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Ghost, the runtime choice between Docker, Kubernetes and virtual machines changes who patches what, so the scope starts there. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope names the runtime (Docker, Kubernetes or virtual machines) and why it fits your team.
  • Scope covers the Ghost version, MySQL 8.0 or 8.4, reverse proxy, TLS, backups, email and hosting accounts.
  • Engagements are fixed-scope; ongoing support, upgrades and continuous testing are available as retainers.

How we build

  • Ghost-CLI on Ubuntu does not support web analytics, so analytics or ActivityPub needs the Docker Compose install.
  • Build includes TLS, database and reverse proxy hardening, and a backup job tested with a restore.
  • Work is documented as you build, so your security and compliance teams can review the setup.

How we hand over

  • Handover includes the runbook for upgrades, backups and restores, written for your operators on that runtime.
  • Security testing of the deployment, if included in scope, is delivered as written findings for your team to act on.
  • Compliance readiness work produces control evidence for your assessor; DeployOpen does not issue audit reports or certifications.

How we support

  • Ongoing support covers upgrades, backup checks and continuous testing, offered as a retainer after handover.
  • Ghost ships frequent minor releases (Ghost releases), so agree in writing who applies each upgrade and how it is tested.
  • In the quote, ask which upgrades, tests and reviews the retainer covers, in writing.

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.