Running Odoo Enterprise in Docker

Teams that want Odoo Enterprise in containers mount or bake the Enterprise addons into the community image, activate the subscription and keep the image in step with Odoo's releases. This page covers the choices, the build sequence and the limits to confirm.

On this page

Running Odoo Enterprise in Docker without an official Enterprise image

Teams that run Odoo in containers and need Enterprise features face one fact early: the Enterprise source code is not publicly available and requires a subscription or partner access. The Community edition is fully open source and licensed under LGPL-3.0, while the Enterprise edition adds features and support on top of it. Because Odoo does not publish an Enterprise image for this purpose, your team must bring the Enterprise addons into the container itself, either by mounting them alongside the Community code or by building a custom image that includes them. Confirm with Odoo, before you design the image, that your subscription and partner terms allow you to hold and use the Enterprise code in your own registry and hosts.

Activation is a separate step from getting the code into the container. On on-premise installs, Odoo documents that an Enterprise database is activated by entering the subscription code, so the container build must keep the Enterprise addons path, the Community code and the database activation in agreement with the version you licensed. Pricing matters here too: according to Odoo's pricing page, only the Custom plan can be hosted on-premise or on Odoo.sh, and only Custom includes multi-company, Odoo Studio, external API access and custom modules. If your organization needs self-hosting, the Custom plan is the one to ask about. Odoo Online and the lower plans keep hosting with Odoo, so this container approach does not apply to them.

This approach fits organizations that must keep data and infrastructure in their own cloud accounts, data centers or air-gapped networks and that have the engineering capacity to maintain image builds. It is a weaker fit where a managed Odoo.sh environment would meet the same requirements, because Odoo.sh handles builds and hosting for the Custom plan. Ask Odoo which hosting option their Custom plan allows for your Enterprise version, and plan who will rebuild the image on each Odoo release, since Odoo's standard support window and the upgrade path set the deadlines for that work.

Which method fits your team: mount the addons or build your own image

This table compares mounting the Enterprise addons into the community image at run time with building a team-owned image that copies them in at build time. Read each row against your container tooling and change control process, since the better fit depends on how often you upgrade and how strictly you need reproducible builds.

FactorMount the Enterprise addons at run timeBuild a team-owned image
What changes on upgradeSwap the addons directory or the community image tag; the mounted code and the image can move at different timesRebuild the image with new community and Enterprise sources; one versioned artifact moves together
Who holds Enterprise source on diskThe host or volume where the addons directory lives, which must be access controlledThe build pipeline and the registry that stores the image, which also need access controls
How subscription codes and secrets are handledCodes are entered in the database after install, and the mounted directory should not contain credentialsKeep codes out of build layers; inject them at run time, since anyone pulling the image could read baked-in files
Reproducibility of buildsLower; the running container depends on what is currently mounted on the hostHigher; pinned source versions and a fixed tag let you rebuild the same image later
Operational effortLower initial setup, but every host must be kept in step with the same addons versionHigher initial setup for the Dockerfile and pipeline, lower ongoing drift across environments
Fit with change controlSuits small teams with a single host and light review requirementsSuits teams with image scanning, promotion between environments and signed release records
Confirm with OdooConfirm how your subscription terms apply to Enterprise code you mount on your own hostsConfirm how your subscription terms apply to images you distribute internally, including to contractors and other environments

How the Enterprise addons reach the running Odoo container

The flow starts at the Enterprise addons source, which the team can only obtain through its Odoo subscription or partner access, so it is kept outside the public community image. Those addons are either mounted as a volume or baked into a team-built image, and the custom addons path in odoo.conf must list them for Odoo to load them. The running container then connects to the PostgreSQL container, where the subscription code is entered in the database. Check that the private registry or host is access-controlled, that the addons path matches the mount point, and that the subscription code is applied in the right database.

Enterprise addons reach the Odoo container through a controlled source and the addons path.

How to set up Enterprise addons in a Docker build, step by step

This sequence takes a team from a confirmed Enterprise subscription to a running Odoo container with Enterprise apps available, a database activated with the subscription code, and data that survives container restarts.

  1. Confirm subscription and Enterprise source access

    Before touching Docker, confirm with Odoo that your organization holds an Enterprise subscription that covers the version you plan to run, and that your team can obtain the Enterprise source code through that subscription or partner access. Pricing and plan tiers are listed on Odoo's pricing page, and only the Custom plan is documented there as hostable on-premise, so check that your plan matches the hosting you chose. The step is done when someone on the team has the Enterprise source for the exact target version in a location the build can read, and the subscription code is in a secure place for later activation.

  2. Choose the mount or build method

    Decide whether the Enterprise addons will be mounted as a volume into the community image or copied into a custom image built from a Dockerfile your team owns. Mounting keeps the image small and lets you swap addons folders during an upgrade, while a built image gives one artifact that is easier to promote between environments and scan. Record the decision and the image tag you will use, because the rest of the sequence depends on it. The step is done when the method and the target version are written down and agreed by the people who will run the service.

  3. Place Enterprise addons beside community addons

    Put the Enterprise addons directory on the same addons path as the community addons, either by mounting it into the container at a fixed location or by copying it into the image during the build. Keep the folder names and version aligned with the Odoo core version in use, so that module dependencies resolve. Check that the directory is readable by the user the container runs as. The step is done when a shell inside the container, or a listing of the mounted path, shows both the community and the Enterprise module folders where Odoo will look for them.

  4. Configure odoo.conf with the addons path

    Create or update the odoo.conf file so that the addons_path setting lists every addons directory Odoo should load, including the Enterprise location used in the previous step. Mount this file into the container at the configuration path your image expects, and set the database connection values to match the PostgreSQL service you will start next. Confirm the file contents with your team before the first start, since a wrong path is the most common reason Enterprise apps are missing. The step is done when the container starts Odoo with the configuration file you wrote and the log shows no addons path errors.

  5. Start PostgreSQL and Odoo with persistent volumes

    Start the PostgreSQL container and the Odoo container together, attaching named volumes or bind mounts to the database data directory and to Odoo's data directory, which holds the filestore for attachments. Confirm that the Odoo container can reach PostgreSQL on the network and that the volumes are not anonymous, so that data is kept when containers are recreated. Keep the database and filestore locations documented for backup. The step is done when both containers report running, the Odoo log shows the web server listening, and the volumes appear in the Docker volume list with the expected names.

  6. Create the database and check the Enterprise apps

    Create a new database through the Odoo database manager, or through the configured database settings, and choose the language and admin credentials. Once the database loads, open the Apps menu, remove the default apps filter, and search for an Enterprise-only module to confirm it is listed. Then run a module update for the base modules and watch the log for errors. The step is done when Enterprise apps appear in the apps list and the module update completes without errors in the log. If a module is missing, check the addons path and the Enterprise folder version before going further.

  7. Activate the subscription code in the database

    Open the database settings and enter the subscription code issued for your Enterprise subscription. Odoo's on-premise documentation describes activation this way for on-premise Enterprise databases. After activation, confirm that the subscription details show the expected database and that Enterprise features are enabled. Store the code in your secrets manager, not in the repository. The step is done when the database shows an active Enterprise subscription and an Enterprise-only feature works in a test screen.

  8. Confirm the filestore survives a container restart

    Restart the Odoo container, then the PostgreSQL container, without deleting volumes. Log in again, open an existing attachment or upload a small test file, and confirm the Enterprise apps and subscription status are still present. Repeat the check after recreating the Odoo container from the same image so that you know the volume mapping is correct. The step is done when the test file and the database content are still there after each restart, and the team has written down the volume names and paths for the backup plan.

Security and operational risks of a custom Enterprise image

A custom image moves Enterprise handling from the vendor's build to your own pipeline. The cards below cover the places where that work can leak code or credentials, age quietly, or fail to restore, and the control to put in place for each.

Enterprise source in registries and layers

Enterprise source code is not publicly available and is only accessible under a subscription or partner access. If the Enterprise addons are copied into an image, anyone who can pull that image can read the code inside its layers, including people who were never meant to hold a license. Restrict the registry to named pull accounts, keep the image private, and check that no build stage leaves the addons in an intermediate layer that gets pushed. Ask your registry provider how pull permissions and image scanning are configured.

Odoo GitHub repository

Subscription code and database credentials

Enterprise databases are activated with a subscription code, and the database and admin passwords protect live business data. Baking any of these into a Dockerfile, a compose file or an environment file committed to Git exposes them to everyone with repository access. Inject these values at run time from a secrets store, limit who can read them, and rotate them when staff change. Record which people can view or reset each secret so the list is ready for an access review.

Unpatched base image and Python dependencies

The base OS image, the Python packages and the PDF rendering tools all receive their own security fixes, separate from Odoo. A custom image that is built once and left running stops receiving those fixes. Schedule scans of the image for known vulnerabilities, rebuild on a fixed cadence, and confirm which Odoo versions are still inside standard support, since security patches are only provided during standard support.

Odoo support docs

Unreviewed upstream changes on rebuild

A Dockerfile that pulls a floating tag such as the latest base image or a nightly Odoo branch can produce a different image on each build without any code change in your repository. Pin the base image by digest and pin the Odoo source to a specific commit or release. Add a review step in which the diff between the old and new upstream code is read before the new image is promoted to staging and production.

Host and volume access control

Anyone with root or Docker access on the host can read the mounted Enterprise addons, the configuration file and the filestore, and can run commands inside the Odoo container. Limit SSH and Docker socket access to named administrators, keep the Enterprise addons mounted read-only, and store the filestore and database volumes on paths with restrictive ownership. Log administrative sessions so that changes to the image or the mounts can be traced.

Backups of filestore and database

A restore needs both the PostgreSQL database and the filestore, which holds attachments and many generated files. Back up the two together so that they match in time, and keep copies outside the host that runs the containers. Test a restore into a separate environment and run the database duplication step with neutralization before any test copy is used, so that live credentials and outbound mail settings are not reused. Record the restore time you measure.

Odoo on-premise docs

Keeping images in step with Odoo's nightly builds and release cadence

Nightly builds are a moving target and should not be what production runs. They are published for testing and early feedback, so a container built from tonight's code can change behavior, schema expectations or module dependencies without a release decision behind it. Production should track a supported release and its maintenance updates instead. Pin the image to a specific major version and build tag, record the exact commit or build identifier in your build pipeline, and treat any move to a newer build as a planned change with a test record. Confirm with Odoo how nightly builds are published, how long they remain available and whether older nightly images can be retrieved later, because a rebuild six months from now may not be able to reproduce today's image unless you keep your own copy.

The support windows set the outer limit for how long a pinned version is safe to run. Odoo's standard support covers the first three years after a major release, and security patches are provided only during standard support, so a version past that window needs a decision about upgrading or paid extended support. Odoo SaaS versions are released every two to three months and cannot use extended support, which matters if your team also consults the SaaS release notes when choosing a target. Check the current dates in the standard and extended support documentation before each planning cycle, and calendar the end of standard support for the version you run so the upgrade is scheduled well before it lapses.

Test every rebuilt image in staging before it reaches production. Restore a copy of the production database into staging and neutralize it, so scheduled actions, outgoing mail and payment or API connections cannot reach real customers or systems. Mount the same Enterprise addons path, activate the test subscription where your agreement allows it, and run the modules your business depends on, including custom modules, reports and integrations. Rebuild when Odoo publishes a maintenance update you need, when a custom module or base dependency changes, when the base image changes, or when a security fix applies, and record each rebuild with its tag, the test results and the approver. Keep the previous image tag available so rollback is a tag change, not a new build.

What buyers ask before running Odoo Enterprise in Docker

What does it cost to run Odoo Enterprise in Docker?

The cost is set by the work, not by a published price, because DeployOpen does not publish a price list and a quote follows from the written scope. The main cost components are the Odoo Enterprise subscription, which is paid to Odoo and is required for the Enterprise addons; the image build and configuration work; testing against a copy of your database; and upgrade planning for later versions. Odoo's pricing page lists only the Custom plan as hostable on Odoo.sh or on-premise, so confirm with Odoo which subscription terms apply to your self-hosted container. Ask any partner to split the quote into one-time build work and recurring items such as image rebuilds, nightly build tracking and retesting.

How long does a first working Odoo Enterprise container take?

The first working container depends on how many custom addons you have, whether your database needs migrating into the container, and how much testing your team requires before go-live. A simple setup using the Enterprise addons mounted into the community image is usually quicker than a custom image with several third-party modules, but no duration figure has been researched for this work. Ask the partner for a timeline tied to named milestones: subscription activation, first clean boot, test database restore, and sign-off. Clarify whether the timeline includes the first upgrade test if your target version is already scheduled to change.

What does the client need to provide for this work?

The client needs three things before work starts: valid access to the Enterprise source and subscription, a place to run containers such as cloud accounts, data center hosts or an air-gapped network, and a named Odoo administrator who can make decisions about configuration, users and go-live. Access to a PostgreSQL database export for test restores is also needed. Your Odoo subscription code is entered during activation, so the person who holds the subscription must be available for that step. Confirm these items in the written scope so that delays from missing access are not charged as new work.

Can an internal team run Odoo Enterprise in Docker alone?

An internal team with Docker, PostgreSQL and Odoo experience can build and run this setup alone, provided it can get Enterprise access and keep a test process in place. The work becomes harder when the team has no one who understands Odoo module dependencies, image rebuilds or database migration between versions. Odoo's on-premise documentation covers activation and database duplication with neutralization for test copies, which helps a small team check changes before production. Assess your team against those tasks and decide who will own image updates and the nightly build review.

Is the Odoo upgrade service available for Community or on-premise installs?

The upgrade service requires an Enterprise subscription for on-premise use, and the Community edition has no access to it according to Odoo's upgrade documentation. A Docker install built on Community code therefore cannot use the service, and a Docker install with Enterprise addons can use it only if the subscription covers on-premise use. Odoo's standard support covers the first three years after a major release on on-premise installs, after which paid extended support is limited to Odoo.sh for select versions and on-premise. Confirm the current support window for your target version before you choose a container tag or plan an upgrade path.

How do I ask a partner for a fixed-scope quote for this work?

Ask for a written, fixed-scope quote that lists the Odoo version, the addons to be mounted or built, the number of custom modules, the database size and migration source, the target environments and the test cycles. DeployOpen's engagements are usually fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and any partner should do the same. Request that the quote name the Odoo version and its support window, state which items are one-time and which recur, and list exclusions such as subscription fees and ongoing retainers. Compare quotes on the same written scope rather than on headline totals.

How often do Odoo nightly builds affect a Docker image?

Odoo publishes nightly builds, and an image built from the mounted Enterprise addons or a custom build must be kept in step with the version you run, so changes need a deliberate review rather than automatic pulls. Odoo SaaS versions are released every two to three months, but self-hosted installs run a pinned major version, and that version receives security updates only during standard support. Set a rule that nightly builds are tested in a staging container with a neutralized database copy before any production change. The frequency of your own rebuild cycle should be agreed with your partner and written into operations.

Limits to confirm in your environment before you build

Running Enterprise addons in a community-based image depends on terms, versions and infrastructure facts that sit outside the Dockerfile. Each card below names one of those limits, what to confirm, and who holds the answer, so the build does not start on an assumption.

Subscription terms for the image

Confirm in writing whether your Odoo Enterprise subscription allows you to copy Enterprise addons into a community-based image, store that image in your registry and run it for the users in your organization. Ask Odoo directly, and have your legal or procurement team review the answer. If the terms are unclear, the image build cannot start. Keep the written answer with the project record.

Odoo pricing

Version and support window

Confirm which Odoo major version your subscription covers and when its standard support ends. Standard support includes security updates, and extended support is limited, so the image tag you pick sets your patching obligations. Check the version against the support dates Odoo publishes before you pin a tag, and ask Odoo or your partner for the upgrade plan that follows.

Odoo 20.0 standard support
2029
Support policy

Upgrade service eligibility

Confirm that your database can use Odoo's upgrade service. The service is tied to an Enterprise subscription for on-premise use, and Community databases have no access. Ask Odoo whether a database running a mounted or rebuilt Enterprise image qualifies, because the upgrade path depends on it. Without this answer, plan a separate porting effort for each major upgrade.

Upgrade documentation

Python and system dependencies

List the Python packages, system libraries and PDF tooling that the Enterprise addons need on your base image, and compare them with the community image you plan to use. Missing packages usually appear only when a specific app or report loads. Your partner should test each Enterprise app on the built image, and your platform team should record the dependency list in the image build file.

Subscription code on an offline network

Confirm how the subscription code is validated when the database runs on a network with no outbound internet access. Ask Odoo whether activation needs a one-time online check, whether it repeats, and what happens when it fails. Your security team should document the outbound exceptions, and your partner should test activation from inside the restricted network before go-live.

Hosting option included in your plan

Confirm that your plan covers the hosting option you intend to use. Odoo's pricing page states that only the Custom plan can be hosted on Odoo.sh or on-premise, and that multi-company, Studio, external API access and custom modules sit in that plan too. Ask Odoo to confirm the plan in writing before you build a self-hosted Docker deployment.

Plan comparison

Who owns each part of an Odoo Enterprise container

Platform and infrastructure engineers own the image, the place it runs and the data it touches. Their work starts before anyone signs in to Odoo, and their decisions determine whether a rebuild can be reproduced and a restore can be trusted.

  • Image build: Pin the Community base and the Enterprise addons tree to known versions, so every rebuild can be traced to its exact inputs.
  • Registry: Store images in a private registry with access control, immutable tags and a retention rule that keeps the images needed for rollback.
  • Volumes and database: Place the filestore and PostgreSQL data on named volumes or managed storage with snapshots, and keep both on the same backup schedule.
  • Network: Limit which services the container can reach, and document every outbound path the deployment needs, including any in-app services your version uses.
  • Backups: Back up the database and filestore together, and restore them into a separate environment on a regular schedule.

Before go-live, confirm that a rebuild from the same inputs produces the image that is running, and that the most recent restore test succeeded.

How DeployOpen works on this

DeployOpen plans, builds, documents and supports self-hosted Odoo inside your own infrastructure, so the Enterprise container runs on infrastructure your team controls. We agree the scope in writing before work starts, then build and test the image, activation and update process against your environment.

How we scope

  • Written scope names the Odoo version, edition, apps and hosting target for the Enterprise container.
  • Scope records whether you need a custom image build or a mounted addons approach, with reasons.
  • We confirm your subscription status, licensing terms and who holds the subscription code before work starts.

How we build

  • We build or configure the image, mount the Enterprise addons and set the Community and Enterprise paths.
  • Activation with your subscription code is tested on a non-production database first.
  • We test the nightly build update process on staging before any change reaches production.

How we hand over

  • You receive the Dockerfile, Compose files, configuration and a written runbook for rebuilds and rollbacks.
  • Handover covers image tagging, version pinning and how to apply a new nightly build safely.
  • Your team walks through the restore and staging copy steps so operations do not depend on us.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • A retainer can cover nightly build reviews, image rebuilds and patch testing against your staging copy.
  • Support scope is agreed in writing, so you know which changes we handle and which stay with your team.

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.