Frappe CRM on Docker vs Kubernetes vs VMs

Frappe CRM can run from a documented container image or an easy-install script, so the choice between Docker, Kubernetes and virtual machines depends on the skills and operating model your team already has. This page sets out the trade-offs and what to confirm before you commit.

On this page

Which Frappe CRM deployment model fits your team

A team that has chosen Frappe CRM still has to decide where it runs. The documented self-hosting paths are Frappe's easy-install script and the ghcr.io/frappe/crm container image, as set out in the frappe/crm README, and the right one follows from the skills and operating model the team already has. Docker fits a team that already builds, scans and runs containers: the image is a unit you can pin, roll back and promote through the pipeline you use today, and what stays with you is the database, file storage, secrets and the upgrade routine. Virtual machines fit a team that runs servers with established patching, change windows and backup tooling, because the CRM becomes one more host inside a process that already works.

Kubernetes is only the right call where a platform team already operates clusters, with ingress, persistent storage, secrets handling and monitoring in place. On top of the application it adds scheduling, storage classes and rollout policy, so a small team that would have to learn Kubernetes before it can run a CRM takes on the most operating effort of the three options. The Frappe CRM README and documentation do not describe a Kubernetes deployment, so you must confirm that path with Frappe and your own platform team before you commit. Ask which components run as separate workloads, how background jobs and scheduled tasks are handled, and which upgrade steps Frappe supports on that layout. Frappe Cloud is a managed option outside this comparison, and a team that does not want to run any of these layers should weigh it separately.

Before you choose, put three questions to the team. Who patches the host or image, who restores the database after a failed upgrade, and who responds when the CRM stops processing work in the background? If those answers sit with people who already do the same for other systems, the matching model is the safe default. If one person would carry all three for the first time, plan the handover and a restore test before go-live. Whichever model you pick, confirm the install and upgrade steps against the Frappe CRM documentation for the release you deploy, because the stable v1.x branch targets Frappe and ERPNext versions 15 and 16.

How Frappe CRM deployment options compare on operating factors

This table compares how Frappe CRM runs on Docker, Kubernetes and virtual machines across install, operation, sizing, availability, upgrades, backup, monitoring, skills and cost. Read each row for what your own team would own on that option, then confirm the Frappe-specific steps in the Frappe documentation before you commit. The main takeaway is that the choice mostly moves work between the host, the platform layer and your staff, while the Frappe upgrade and backup steps still apply on every option.

FactorDocker (container image)KubernetesVirtual machines
Install pathRun the published ghcr.io/frappe/crm image or Frappe's easy-install script. Confirm the supported compose layout with Frappe documentation.Confirm with Frappe documentation whether official manifests or a Helm chart exist before you plan on one.Run Frappe's easy-install script on a host you manage. Confirm supported operating system versions with Frappe documentation.
What the team operatesThe container host, volumes, network and the site database connection. Keep the image aligned with Frappe and ERPNext 15 or 16.The cluster, workloads, persistent volumes, ingress, secrets and the site database connection, on top of Frappe itself.The operating system, patching, Frappe services, web and worker processes, and the database on each host.
Sizing decisionsHost CPU and memory are shared across containers, so size the host for the database and background work together. Confirm minimums with Frappe documentation.Set resource requests and limits per workload and choose storage classes for files and the database. Confirm which components scale out.Start with one host size for the whole stack, then split the database or workers onto other hosts as load grows. Confirm component sizing with Frappe documentation.
High availabilityUsually one host unless you add an orchestrator. Host failure recovery is your design task.Replicas and rescheduling come from the cluster, but the shared database and file storage often decide actual uptime. Confirm which Frappe services run as multiple replicas.Usually one host per role, with failover designed by your team. Confirm which Frappe components can run in parallel before you design it.
UpgradesChange the image tag, then run the site migration steps. Confirm the migration command and version pairs in Frappe documentation.Roll new image versions through deployments, but the site migration still runs separately. Confirm the migrate step before you automate it.Update the installed code and run migrations on the host during a maintenance window. Confirm the steps for your installed version.
BackupBack up the database and the volumes holding site files. Container images are not backups. Confirm the Frappe backup commands for your version.Back up persistent volumes and the database, then test restores inside the cluster. Snapshot and retention options depend on your storage platform.Back up the database and site files with your own tooling on the host. Confirm the Frappe backup command and retention with Frappe documentation.
MonitoringContainer health, logs and disk alerts on the host, plus database alerts. Host metrics collection is your job.Cluster and pod metrics, application logs and database alerts. You run or buy the monitoring stack.Host metrics, service status and logs from each Frappe service. Most teams reuse existing host monitoring.
Skills requiredContainer and Linux operations, plus Frappe site administration.Kubernetes operations on top of Frappe site administration. Teams that already run a cluster carry less new load.Linux administration and Frappe install or bench administration. Many in-house teams already hold these skills.
Main cost driversHost capacity, database storage and staff hours for upgrades and backups. Frappe CRM is AGPL-3.0, so licence fees do not apply to self-hosting.The cluster platform, storage, staff hours and any managed cluster service fees. Licence fees do not apply to Frappe CRM itself.Virtual machine capacity, operating system patching time and staff hours for upgrades and backups. Frappe CRM itself carries no licence fee under AGPL-3.0.

What runs in each layer of a Frappe CRM install

A Frappe CRM install is a stack of six layers, and each one can be run differently on Docker, Kubernetes or virtual machines. The application and framework define which processes you must run, the database and cache hold the state, and the edge, storage and update path decide how users reach the system, how it is backed up and how it stays current. Check each layer against your team's operating skills before you choose a hosting model.

Application and Frappe Framework

Frappe CRM is an application built on the Frappe Framework, with a Frappe UI front end written in Vue. Your hosting model decides how its processes are started, restarted and scaled. On Docker or Kubernetes, pin the image tag for ghcr.io/frappe/crm and run each process as its own container or deployment. On virtual machines, a process supervisor you maintain does that job. Confirm the process list for your release in the frappe/crm README before you write container definitions or service files.

frappe/crm README

Database and cache layer

Frappe CRM keeps its records, along with cache and queue state, in a database engine and a cache service that the Frappe stack expects. The supported engines and their versions are set by the Frappe documentation, so confirm the supported database and cache versions there before you size hardware or choose a managed service. On Docker or Kubernetes, decide whether these run as containers in the cluster or as a managed service outside it, and check how each option handles backup and failover. On virtual machines, you decide whether the database shares a host with the application or runs on its own.

Frappe CRM docs

Edge, reverse proxy and TLS

The edge terminates TLS and forwards browser traffic to the Frappe CRM web processes, including the real-time connections the UI relies on. Whether you use a proxy container, an ingress controller or a proxy on a virtual machine, it must pass those connections through without breaking them. Decide who owns certificate issuance and renewal, and whether the proxy logs carry enough detail for your security team. Before go-live, test sign-in, a lead update and a page refresh through the full path, because a misrouted real-time connection often looks like a broken page.

File and backup storage

Uploaded attachments, call recordings and generated files are written to the site's file store, and backups must capture that store together with the database. A restore that brings back the database without the matching files leaves records with broken attachments. On Kubernetes, use persistent volumes with a backup or snapshot tool you have tested end to end. On virtual machines, the backup job is a script or agent you maintain. Confirm where files and recordings are written for your telephony setup and how long your policy requires you to keep them.

Optional ERPNext dependency

ERPNext is optional. Frappe CRM runs as a standalone app, and it also offers an integration with ERPNext for teams that want sales records tied to invoicing and stock. Installing ERPNext on the same bench or site adds its own apps, data and upgrade cycle to the install you must host and patch. Decide before deployment whether the CRM runs alone or alongside ERPNext, and confirm in the documentation how the integration is configured on your release.

ERPNext vs Frappe CRM

Update path and version compatibility

The stable v1.x branch of Frappe CRM is compatible with Frappe and ERPNext versions 15 and 16, so your Frappe Framework version limits which CRM releases you can run. Releases arrive often: v1.88.0 followed v1.87.0 a week earlier. Whatever the hosting model, treat each upgrade as a tested change. Rebuild the image or refresh the bench, run the migration against a copy of production data, then roll out. Read the release notes before each upgrade, because rollback effort differs between Docker, Kubernetes and virtual machines.

Frappe CRM releases

How a team moves from its current skills to a deployment model

The path starts with the team's current operating skills. The first question is whether the team already runs container hosts. If it does, the next question is whether a Kubernetes platform has a named owner. If so, the reader should confirm the Kubernetes path with that owner before going further. If the team has container hosts but no Kubernetes owner, Docker is the natural starting point. Without container hosts, a team that already patches virtual machines on a fixed process can use VMs, and otherwise Docker is the path to build toward. Teams that prefer a managed option can look at Frappe Cloud, which sits outside this comparison.

Decision path from current skills to Docker, Kubernetes or virtual machines.

Upgrades, backups and monitoring for each option

This table compares who performs each day-two task for Frappe CRM on Docker, Kubernetes and virtual machines, and what each task depends on. frappe/crm published v1.87.0 on October 9, 2026 and v1.88.0 on October 15, 2026, so plan for frequent upgrades and test each release in staging first. Confirm the upgrade and backup commands in the Frappe CRM documentation before you write runbooks.

Operating taskDockerKubernetesVirtual machines
UpgradePlatform team pulls a pinned image tag and runs the migration inside the container. Depends on a staging copy and the Frappe Framework version.Platform team changes the image tag in manifests and rolls it out. Depends on migration jobs and database access from the cluster.Admin runs the documented update steps on the host. Depends on a snapshot taken first and the pinned release.
RollbackPlatform team redeploys the previous image tag. Works cleanly only if the schema change is backward compatible or the database is restored from backup.Platform team rolls back the deployment revision. Depends on the same schema condition and on prior manifests kept in Git.Admin restores the pre-upgrade snapshot. Depends on the snapshot being taken and tested before the change.
Backup and restorePlatform team backs up the database and site files from the volumes. Depends on volume paths and a tested restore procedure.Platform team uses scheduled database and volume snapshots. Depends on the storage class supporting snapshots and on regular restore drills.Admin runs database dumps and file backups on the host. Depends on backup tooling and the host's disk and retention policy.
MonitoringPlatform team watches container health, logs and resource limits. Depends on whether the host has a log and metrics agent.Platform team uses cluster metrics, probes and alerts on pods. Depends on the monitoring stack already running in the cluster.Ops team monitors host CPU, memory, disk and services. Depends on agents installed on each VM and on alert routing.
Operating system patchingHost admin patches the Docker host and rebuilds images for base layer updates. Depends on the container host's update window.Cluster operator upgrades worker nodes in turn. Depends on pod disruption settings and enough spare capacity.Infrastructure team patches the guest OS and the database host. Depends on maintenance windows and a restart plan for each VM.
ScalingPlatform team adds replicas on a larger host or more hosts. Depends on how the database and background workers are sized.Platform team sets replica counts or autoscaling rules. Depends on database connection limits and shared file storage.Infrastructure team resizes the VM or adds a new one, then updates the proxy. Depends on downtime tolerance and a reliable load balancer.

How high availability and upgrades change the cost of each option

Confirm which redundancy Frappe supports before you promise any uptime figure. The Frappe CRM documentation does not describe a multi-node high availability topology for Frappe CRM, so any failover design is one your team or an implementation partner must build, test and document. What redundancy means differs by option. On Docker, the typical baseline is a single container host with a restore of the database and site files that has been rehearsed end to end, which keeps the design simple but makes recovery time depend on that rehearsal. On Kubernetes, redundancy means a cluster with replicated storage and a shared database, which adds the control plane, storage classes and networking to what you operate. On virtual machines, the common pattern is a VM pair behind a load balancer, which doubles the application hosts while the database and file storage still need their own answer. Each option buys a different kind of failure tolerance, and each carries a different share of the running cost.

The cost of redundancy depends on who owns five things: database failover, load balancing, shared storage for uploaded files and site assets, the test environment used to rehearse upgrades, and the on-call rota that responds when a node fails overnight. A single host leaves most of these with your own team. A cluster moves some of them into platform tooling that also needs operating skills and monitoring. A VM pair moves load balancing into a component whose health checks and session handling you must confirm for Frappe CRM before you rely on it. Upgrades raise the stakes in every option. The frappe/crm releases show v1.87.0 on October 9, 2026 and v1.88.0 on October 15, 2026, so the upgrade test cycle recurs with each release and is a standing cost, not a one-time setup task. Plan for a staging copy that matches production and a rollback path that you have exercised.

Ask for a written quote that states which redundancy design is in scope, whether a failover drill and a full restore are included, and who holds each of the five roles after handover. Ask whether the upgrade test environment is priced as one-time setup, recurring work, or both, and whether each upgrade includes a restore check. Ask who is paged, how the on-call rota is staffed, and whether ongoing support, upgrades and continuous testing are offered as a retainer. Before you accept any uptime commitment, confirm in writing which high availability setup Frappe supports for Frappe CRM, and make any recovery targets in the scope depend on that confirmation.

Which Frappe CRM team should choose Docker, Kubernetes or VMs

Docker fits a team that already builds, patches and runs container hosts for other workloads. Frappe CRM is distributed as a container image, so most of the work sits around the image: persistent volumes, the database and cache services it depends on, secrets, TLS, backups and the steps between image versions. If those pieces already have owners and runbooks, this option adds the least new operating surface.

  • Fit condition: Your hosts already run other containerized services under a patch and image pipeline, and one or a few Frappe CRM sites fit within that capacity.
  • Skills needed: Container image management, host-level service definitions, volume handling, reverse proxy and certificate configuration, and log collection.
  • What not to take alone: Database backup and restore design, and the first upgrade across a version boundary, which should be rehearsed on a copy of production data.
  • Trade-off to plan for: Failover is yours to design. Without an orchestrator, a host failure is an outage until the service is rebuilt or moved.

Question to confirm with DeployOpen before committing: how the volumes, secrets and backups for the Frappe CRM containers would be laid out and restore-tested in your environment.

How to size and pilot a Frappe CRM deployment before committing

This sequence tests the parts of a Frappe CRM deployment that are hard to undo: the install, the restore path, the upgrade path and the permission model. It ends with measured load data that your team can set against its own user count before choosing Docker, Kubernetes or virtual machines.

  1. Confirm the operating system, hardware and database requirements

    Read the Frappe CRM documentation for the operating system, hardware and database engine each release supports, and note the minimums it states. Confirm the Frappe and ERPNext versions the stable v1.x branch supports, which the frappe/crm README lists as versions 15 and 16, and choose the version your team will run. Done when a written requirements sheet, signed off by the platform owner, names the OS, database version, hardware and Frappe version you will test against, and every open question has a named owner.

  2. Install a pilot in a test environment

    On a test host that matches the operating system and database you chose, install Frappe CRM with Frappe's easy-install script or the ghcr.io/frappe/crm image. Use the same Frappe and ERPNext versions from the previous step so the pilot matches what you plan to run. Done when the site loads, a test user signs in, and you can create a lead and a deal and log an activity against them. Keep a record of every command and configuration value, because the production build will need to repeat them.

  3. Restore a backup into the pilot

    Take a backup of the pilot site, covering both the database and uploaded files, then restore it into a second, empty test host. Repeat the restore at least once more so you know the procedure works on a second run and is not tied to one set of conditions. Done when the restored site shows the same leads, deals, activities and attachments as the source, and the restore steps are written down with the time each one took on your hardware. Ask the vendor or your operations team which backup tooling and retention settings apply to each hosting model you are evaluating.

  4. Rehearse an upgrade from v1.87.0 to v1.88.0

    Start from a restored copy of the pilot running v1.87.0, then upgrade it to v1.88.0 using the same steps you would follow in production. The two releases came out a week apart, so read the release notes in the frappe/crm releases page for any migration steps between them. Run the rehearsal on each hosting model you are evaluating, because the commands and rollback steps may differ between Docker, Kubernetes and virtual machines. Done when the upgrade completes, the site loads, and you have confirmed the rollback path from the backup taken before the upgrade.

  5. Verify the roles and the sales hierarchy

    Create one test account for each of the Sales User, Manager and Admin roles, and place users at two levels of a sales hierarchy. Confirm that each account sees only the leads, deals and activities its role and position allow, and that assignment rules route new records to the intended owner. Also check who can use the email accounts and templates, since those affect what users can send on behalf of the team. Done when a written matrix records expected and observed visibility for each account, and every gap is either fixed or logged for the identity team.

  6. Record measured load against your user count

    Using the number of users you expect in production, run a test that creates leads, moves deals and logs activities at the pace your sales team works, and record CPU, memory, database and response time measurements for the run. Ask your hosting or platform team which metrics their monitoring can capture before the test starts. Repeat the run at least once and note what changed between runs. Done when the measurements sit in a table tied to the user count, and that table is the input to the choice between Docker, Kubernetes and virtual machines.

What buyers ask about running Frappe CRM themselves

How much effort does each hosting option take to run?

Running the ghcr.io/frappe/crm image on Docker is usually the lightest path to start, Kubernetes adds cluster operations on top of the same application, and virtual machines leave the most host work with your team. Every option still needs someone who understands the Frappe Framework, its background jobs and database, and the upgrade path between Frappe and ERPNext versions. The bigger effort is recurring: host patching, backup runs, restore tests and each upgrade. Ask any provider to list which of those tasks they own, which your team keeps, and how often each one happens. Compare the options on that recurring list, because the first install is the smallest part of the work.

Can an in-house team run Frappe CRM without outside help?

An in-house team can run Frappe CRM alone if it already operates Linux servers, a relational database and background job services, and if it can staff upgrades and incident response. Frappe CRM is built on the Frappe Framework with a Vue interface, so the people who maintain it need to understand the framework, not only the container. Check three things before deciding: whether two or more people can handle a failed upgrade, whether backup restores have been tested, and whether the team can follow the stable v1.x branch against the Frappe and ERPNext versions it supports. If any of those depends on one person, the handover risk belongs in your plan, and an outside partner can take on part of that work under a written scope.

How long do the Frappe CRM install and pilot take?

The install can be short on a prepared server, but the pilot length follows the work around it. The drivers are how many sites you run, whether you migrate existing records, which integrations you switch on (telephony through Twilio or Exotel, WhatsApp, Meta lead sync, email accounts), how the sales hierarchy and assignment rules are set, and how many testers must sign off. No duration is given here because it depends on those inputs. Timelines come from the written scope agreed before work starts, so ask for a plan that lists each integration, its test, and the person who signs it off.

What does a self-hosted Frappe CRM project need from our team?

The work needs named owners for several areas before the pilot starts:

  • A server or platform owner for hosts, network access, TLS certificates, storage and backup jobs.
  • A Frappe CRM administrator to set up the Sales User, Manager and Admin roles, the sales hierarchy and assignment rules.
  • An identity owner for login and access policy, including any single sign-on setup.
  • Telephony and messaging account owners for Twilio or Exotel, WhatsApp, and the Meta business account used for lead sync.
  • A business owner who signs off pipeline stages, lead sources and web forms.

Ask the provider to confirm which of these they will staff and which fall to your team.

What drives the cost of self-hosting Frappe CRM up or down?

Cost moves with three components, and each one is paid to a different party. Infrastructure (servers or cluster capacity, storage, backups and network) is paid to your cloud or data center provider and recurs every month. Staff time for patching, upgrades and on-call cover is an internal cost that recurs and is easy to leave out of a comparison. Outside help is usually a one-time charge for the install and pilot under a fixed scope, plus any retainer for upgrades or continuous testing. Infrastructure costs fall with right-sized hosts and fewer copies of data, staff costs fall with shared runbooks and automation, and outside help rises as the scope grows. Ask any quote to separate one-time from recurring items and to name who is paid for each.

When does Frappe Cloud's 5 dollar starting price change the comparison?

Frappe Cloud's Frappe CRM product page says plans start at 5 US dollars a month per site, with unlimited users, no per-seat charges and billing by usage, and that customers can self-host or move to another provider. The comparison changes when the work you would take on yourself costs more than that starting fee at your site count, or when your team cannot staff the recurring tasks. It does not change the decision when private networking, data residency or air-gapped operation are required, because those requirements set the hosting choice regardless of price. Confirm the current plan terms and what usage billing includes before you use the figure in a business case.

Is Kubernetes an officially documented way to run Frappe CRM?

Kubernetes does not appear among the self-hosting routes that Frappe documents at the time of writing. The documented routes are the easy-install script, the ghcr.io/frappe/crm container image, and bench for development. Treat a Kubernetes build as a path your team would design, test and own unless the project documentation confirms a supported approach. Confirm this in the frappe/crm README before you commit. If the answer is no, ask any partner how they would package the container, handle persistent storage and background workers, and who maintains that setup after each release.

How DeployOpen scopes and runs a Frappe CRM deployment

DeployOpen plans, implements, hardens, backs up and documents self-hosted platforms inside your own cloud accounts, data centers or air-gapped networks, so the choice between Docker, Kubernetes and virtual machines is made against your team's skills and recovery requirements. Frappe CRM can be self-hosted with Frappe's easy-install script or the ghcr.io/frappe/crm container image, and the scope fixes the runtime before any work starts.

How we scope

  • The written scope names the Frappe CRM version, the hosting model and the target environment before work starts.
  • Scope covers which of Docker, Kubernetes or virtual machines fits your operations skills, backup targets and network rules.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.

How we build

  • Builds start from the easy-install script or the ghcr.io/frappe/crm image that the agreed scope selects.
  • The sales hierarchy, Sales User, Manager and Admin roles, and email accounts are configured and tested before handover.
  • Security testing of the deployed instance covers the application, its APIs and the host it runs on.

How we hand over

  • Handover documents the chosen runtime, upgrade steps, backup and restore procedure and the configuration owners.
  • Backup and restore steps are written down in the handover pack for your operations team to follow.
  • Ask which configuration files, diagrams and evidence are included in the agreed deliverables.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers once the build is handed over.
  • Upgrade planning starts from the Frappe CRM releases, where v1.88.0 shipped October 15, 2026.
  • Ask whether support covers Docker, Kubernetes or VM hosts, since the retainer scope follows the runtime you choose.

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.