Deploying Orthanc with the orthancteam Docker images

Choosing between the default and full Orthanc Docker image tags, mapping persistent volumes for the index and DICOM files, and checking health before production use.

On this page

Deploying Orthanc with Docker images: what the containers include and when to use them

A team running Orthanc in containers for a hospital or imaging network needs to know what the orthancteam images contain before choosing a tag. Orthanc is distributed as Docker images alongside its Windows, macOS and Linux packages, and the project publishes a default image and a full image. The two tags differ in which plugins are bundled, so the first decision is whether the server needs only the core DICOM functions or also needs plugins such as the PostgreSQL database back end, object storage or a web viewer. Confirm the exact bundled plugin list for each tag in the current image documentation before you write the image reference into your deployment files, because a plugin missing from the image has to be added by a rebuild or a separate image.

Teams choose containers because the server, its plugins and its configuration can be versioned, rebuilt and moved between hosts in a repeatable way. This suits a hospital network that already runs container hosts and wants the same review, change and rollback process for imaging as for other services. The current release is Orthanc 1.13.0, released on 2026-08-15, and it followed 1.12.11 on 2026-04-14. Pin the version tag explicitly instead of relying on a floating tag, and plan a test run of the new release before rolling it into production, since 1.13.0 rewrote storage-area access and DICOM parsing and transcoding.

Licensing also belongs in the container decision. The Orthanc core is licensed GPLv3 or later, while several scalability and cloud plugins are licensed AGPLv3 or later, so the license obligations for any image you build, modify or redistribute depend on which components it contains. Ask your legal or compliance team to review the Orthanc Book licensing FAQ against the exact image you plan to run, and keep a record of the tag and plugin versions in use for each environment.

Default versus full image tags and when each fits

This table compares the default and full orthancteam Docker image tags on the plugins they bundle, the storage and database back ends each makes available, and the setup work that follows. Read each row as a question to answer for your deployment, then confirm the exact bundled plugin list for each tag on the project's download page before you pin a version.

Decision pointDefault imageFull image
Typical useSuits deployments that keep the index and files on local or standard back ends and need no cloud object storage pluginSuits deployments that need bundled cloud object storage or additional database plugins, such as Azure Blob Storage
Cloud object storageConfirm whether the S3 or Azure plugin is bundled before relying on itExpected to bundle Azure Blob Storage support; confirm the Azure, S3 and Google Cloud plugins against the download page
Database back endsConfirm whether PostgreSQL, MySQL or ODBC plugins are included; otherwise the built-in SQLite index appliesConfirm whether PostgreSQL, MySQL/MariaDB and ODBC plugins are included for large or shared indexes
Viewers and DICOMwebConfirm whether Orthanc Explorer 2, DICOMweb and the Stone or OHIF viewers are includedConfirm whether the same viewer and DICOMweb plugins are included, since their presence affects reverse proxy routes
Image size and footprintSmaller image, fewer plugins to patch and scanLarger image with more bundled components that must be tracked for version and vulnerability updates
Plugin version matchingCore and plugin versions ship together in the tag you pinSame rule applies: pin one tag and confirm every bundled plugin matches the core version
Adding a plugin laterMay require a custom image built on the default base if a needed plugin is absentReduces the need for a custom image when the plugin you need is already bundled
Verification before go-liveRun a test upload and retrieve, then confirm the plugin list reported by the running instanceRun the same tests plus a storage round trip to the chosen back end, and confirm credentials are read from secrets

How the Orthanc container, database and storage volumes connect

The flow starts with modalities and viewers sending DICOM and HTTP traffic to a reverse proxy inside the hospital network boundary. The proxy forwards requests to the Orthanc container, which reads its settings from a mounted configuration file and keeps its index in a PostgreSQL service. DICOM files go to a persistent volume or an object store. Check that only the proxy is reachable from outside, that the database and storage volumes survive container replacement, and that the /tools/execute-script and export routes stay disabled.

Orthanc container with its database, file volume and proxy inside the hospital boundary.

Setting up an Orthanc Docker deployment step by step

This sequence takes a team from choosing an Orthanc image to a Compose layout that stores its index and DICOM files on persistent volumes, requires authentication before remote access, reports health, and survives a restart. Each step ends with a check you can run before moving on.

  1. Choose and pin the image tag

    Select the image tag from the orthancteam Docker images that matches your variant, either the default or the full image, based on which bundled plugins you need. Pin it to an exact Orthanc release, such as 1.13.0 (released 2026-08-15), instead of a floating tag, so that restarts and rebuilds cannot change the core version silently. Pull the image on a test host and record the tag and image digest in your change record. Check: the local image reports the tag you pinned, and the digest matches the record.

  2. Mount the configuration file read-only

    Write the Orthanc configuration as a JSON file on the host and mount it into the container at the path the image reads. Set AuthenticationEnabled to true, keep RemoteAccessAllowed at false for this first run, and confirm that the /tools/execute-script route and the export route stay disabled, as the Orthanc Book Security FAQ advises. Keep passwords out of the file. Check: the container logs show the configuration file being loaded, and the file is mounted read-only inside the container.

  3. Create persistent volumes for index and files

    Create separate volumes or bind mounts for the database index and for the DICOM file storage, and point the configuration at the container paths documented for the image. Confirm the exact paths in the image documentation before you write the Compose file, because a wrong path loses data when the container is recreated. Check: the volume or bind mount is listed on the host, and a test file written from inside the container appears at the expected host path and survives removing and recreating the container.

  4. Wire the database service

    Add a PostgreSQL service to the Compose file and configure Orthanc to use the PostgreSQL plugin for its index, which the Orthanc Book recommends for large datasets. Supply the database password through Docker secrets rather than plain environment values, and give the database its own persistent volume. Start the database first and let Orthanc wait for it. Check: the Orthanc log reports a successful database connection, and the database contains the tables Orthanc created on first start.

  5. Enable authentication before remote access

    Define at least one user in RegisteredUsers, and only then allow remote connections by setting RemoteAccessAllowed to true. The Orthanc Book states that remote access should be paired with authentication and recommends HTTPS and a reverse proxy for any Internet exposure, so plan those layers before publishing the port. Check: a REST call to the system endpoint without credentials is refused, and the same call with a registered user returns a successful response from another host.

  6. Add the container healthcheck

    Add a healthcheck to the Orthanc service that calls the system endpoint with a dedicated monitoring account, so the check passes only when Orthanc answers and authenticates. Set the interval and retry values to match your monitoring practice, and confirm the probe tool is available inside the image. Check: docker inspect reports the container as healthy, and when you stop the database for a moment, the status changes to unhealthy and then recovers after the database returns.

  7. Start the Compose layout and verify

    Start the full layout with Docker Compose in detached mode, then confirm all services are running and healthy. Upload one test DICOM instance through the REST API, retrieve it, and confirm the file appears in the storage volume. Restart the stack and repeat the retrieval to prove the index and files persisted. Check: the test study is retrievable before and after the restart, and both volume paths contain the data, which is your evidence that the deployment is ready for a supervised pilot.

Persistent volumes for the index and DICOM files

A container can be replaced at any time, so the Orthanc index and the DICOM files must live on volumes that sit outside it. The two need separate planning because they grow differently, fail differently and are restored differently.

Index database storage

The index holds the patient, study, series and instance records that Orthanc uses to find files. By default it is a SQLite database inside the Orthanc data path, so it needs a persistent volume mapped to that path. Confirm that the volume survives container recreation and is included in your backup scope before any clinical use.

Scalability FAQ

DICOM file storage

DICOM files are the bulk of the data and usually grow far faster than the index. Mount a separate volume for the storage area so that file growth, capacity alerts and expansion can be handled without touching the database. Decide early whether files stay on local disk or move to object storage through a plugin, because that choice changes the volume layout.

SQLite limits at scale

SQLite works for small test and evaluation instances, but it is not the target for large archives. The scalability guidance says the built-in index should be replaced by an enterprise database engine once Orthanc stores several hundred thousand DICOM instances. In containers, SQLite files on shared or slow volumes add locking and corruption risk, so ask the team to measure instance counts before going live.

Scalability FAQ

PostgreSQL plugin for large datasets

The documentation recommends the PostgreSQL plugin for large datasets. The database then runs in its own container or managed service with its own volume, and the Orthanc container holds only configuration and file storage. Confirm the database version, backup method and connection settings with the plugin documentation for the Orthanc release you deploy.

Orthanc plugins

Data survives container replacement

Image upgrades and restarts replace containers, but the volumes must persist across those events. Test this by recreating the Orthanc container against the same volumes and confirming that studies are still listed and retrievable. Use named volumes or host paths with fixed ownership so that the container user can read and write the data after each replacement.

Backups remain your responsibility

Persistent volumes protect against container loss, not against deletion, corruption or ransomware. The team that runs the deployment owns backup schedules, offsite copies, restore tests and retention for both the database and the file storage. Ask the vendor or partner to document how the index and files are backed up consistently, since restoring one without the other leaves orphaned records or missing files.

Healthchecks, restarts and upgrades in containers

A container healthcheck for Orthanc should prove two things: the REST API answers requests, and the database behind it accepts connections. A check that only confirms the process is alive will report healthy while the index is unreachable, and clients will then see errors that the orchestrator never acts on. Probe a lightweight REST endpoint that requires the Orthanc process to be serving, and separately verify database reachability from the database plugin's own connection, using the PostgreSQL or MySQL settings your Compose file passes in through environment variables. Confirm the exact endpoint and the wait behavior against the image version you run, because the published Compose layouts differ in what they check, and document which failure should trigger a restart and which should only page an operator.

Restarts need care when the database schema may change. The PostgreSQL and MySQL plugins create and migrate their tables on startup, so a container restart is not a neutral event after a version change. Before you change an image tag, back up the database and the storage volume together, and make sure only one upgraded instance starts first if several instances share the same database. Automatic restart policies should not repeatedly relaunch a container that fails during a schema migration, since that can leave the operator guessing which step failed. Ask the vendor or Orthanc Team which schema changes a given release makes, and check the Orthanc NEWS file for each version between your current and target release.

Pin every image to an exact version tag and never run latest in production, because an unplanned pull can move the core, plugins and storage behavior together. Orthanc 1.13.0 was released on 2026-08-15 with a complete rewrite of storage-area access and DICOM parsing and transcoding, which changes how caching and memory behave under load. Treat that release as a change that needs its own test run against a copy of your data, with memory and storage metrics compared to the previous version. Keep the same tag for the core, the full or default image and any plugin images, and record the digest of each image in your change record so a rollback returns to a known state. Confirm the upgrade path for your release with Orthanc Team before scheduling production work, and do not assume a rollback is safe once a schema migration has run.

Security settings to apply before exposing the container

An Orthanc container starts with a conservative network posture, but each step that opens access, publishes a port or moves configuration into the image changes the risk. The cards below cover the settings to review in order, from the default localhost-only HTTP behavior through authentication, TLS and secret handling.

Start from localhost-only HTTP

By default Orthanc only accepts HTTP connections from localhost. Inside a container, that means the REST API and viewers are unreachable from the host or the network until you deliberately enable remote access. Confirm that RemoteAccessAllowed is not set to true in any configuration file or environment variable before you publish a port, and check the effective value in the running container rather than trusting the file you edited.

Orthanc security FAQ

Require authentication with registered users

When RemoteAccessAllowed is enabled, set AuthenticationEnabled to true and define the accounts under RegisteredUsers. Every REST request then needs valid credentials, including viewer and automation traffic. Plan the account list before deployment, give each integration its own user where possible, and confirm that unauthenticated requests return an error from the running container.

Put HTTPS in front of the API

Orthanc's documentation recommends HTTPS and a reverse proxy for any Internet exposure. Terminate TLS at the proxy with certificates your team manages, forward only the routes that users need, and keep the Orthanc port itself off public interfaces. Set upload size limits at the proxy as well, since large DICOM files will otherwise fail in ways that look like Orthanc errors.

Keep script and export routes disabled

The Orthanc security FAQ warns that the /tools/execute-script route can let a malicious user run any system command, and that the export route can overwrite files. Both should stay disabled in a container that is reachable by anyone other than administrators. Check the configuration for these routes after every upgrade, because a permissive setting copied from a test file is an easy way to expose a host.

Keep secrets out of image layers

Passwords for RegisteredUsers, database credentials and storage keys should be supplied at runtime through Docker secrets or the orchestrator's secret store, not written into a Dockerfile, a committed Compose file or a configuration file baked into the image. Anything written during a build remains in the image history. Ask who can read the Compose files and environment definitions, since those often leak the same values.

Enable DICOM TLS for exchanges

Orthanc supports DICOM TLS encryption for exchanges between sites starting with version 1.9.0. Plan this for each modality, peer and remote PACS that sends or receives images through the container, because TLS must be configured on both ends with certificates the other side trusts. Confirm the image tag you deploy is 1.9.0 or later before relying on it, and test a store and a query over TLS before switching production traffic.

Orthanc security FAQ

Questions teams ask before running Orthanc in Docker

How much effort does a containerized Orthanc deployment take?

Effort depends mainly on how many systems sit around the container, not on the container itself. A single Orthanc container with SQLite and a local volume is a small job. Production work adds a database server, object or file storage, TLS termination, authentication, backups, monitoring and a plan for upgrades. Each of these adds configuration, testing and documentation. Ask any partner to split the quote into those components so you can see which ones your environment already covers. Recurring effort comes from upgrades, plugin version matching and periodic restore tests, which the project's release history makes necessary: the 1.13.0 release on 2026-08-15 followed 1.12.11 on 2026-04-14, so teams should plan for regular version reviews.

Can an in-house team deploy Orthanc in Docker without a partner?

Yes, a team with container and database experience can run Orthanc in Docker without outside help, provided it has someone who owns the configuration and can test restores. The harder parts are usually not the container but the surrounding decisions: choosing a database and storage layout, locking down remote access, and proving that the setup works for clinical users. The Orthanc security FAQ warns that the /tools/execute-script route and the export route should stay disabled, and that remote access requires authentication with users defined in RegisteredUsers. Teams without DICOM or imaging experience should budget time to learn modality connectivity and viewer behavior before going live.

What inputs does a containerized Orthanc deployment need from our side?

Plan to supply four groups of inputs before work starts:

  • Database: the target engine, for example PostgreSQL through the PostgreSQL plugin, plus sizing expectations, since the Orthanc docs recommend leaving SQLite once a deployment holds several hundred thousand DICOM instances.
  • Storage: the persistent volume or object storage location for DICOM files, retention rules and encryption requirements.
  • Network: which modalities, viewers and clients connect, the ports they use, and whether access is local, internal or Internet-facing.
  • Security: identity provider, user and role model, secrets handling for passwords, log retention and who approves production changes.

The quality of these answers largely sets the duration and the number of revisions.

How long does a first Orthanc Docker deployment take?

Duration depends on scope, and no fixed figure applies to every environment. A minimal test stack with one Orthanc container, a local volume and agreed configuration can be completed quickly. A production build with an external database, object storage, reverse proxy, authentication and tested backups takes longer because each component needs review and sign-off. Integration with your modalities, PACS and viewers is often the longest single step because it depends on network access and the other systems' schedules. Ask for a written timeline with milestones for each component, and confirm which items depend on your change-approval process.

What does Orthanc Team SRL sell, and is there a paid edition?

There is no paid edition of Orthanc. Orthanc Team SRL sells deployment, configuration and development services, and it offers pre-paid dedicated support hours that are valid for 12 months, quoted on request, according to the Orthanc Team website. The core software is licensed under GPLv3 or later, and the scalability and cloud plugins are licensed under AGPLv3 or later. Your contract with any services provider should state what the support hours cover, how they are logged, and what happens to unused hours at the end of the 12-month period.

How does DeployOpen scope a containerized Orthanc engagement?

DeployOpen plans, implements, hardens, backs up, documents and supports open-source platforms inside the client's own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. For a containerized Orthanc setup, the written scope would typically name the image variant, the plugins to enable, the database and storage design, the Compose or orchestration layout, healthchecks, persistent volumes, the reverse proxy and the handover documentation. Quotes follow from that written scope, and DeployOpen does not publish a price list. Ask for the scope document and check that each item maps to something you will run.

Do Docker deployments change our compliance evidence needs?

Containers do not remove your obligations for access control, audit logging, encryption and backups, so the evidence you need is much the same as for a host install. Compliance assessors will ask who can change configuration, where secrets live, how access is logged and how restores are tested. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. Confirm early which framework applies to your Orthanc archive so the container layout records the controls it needs.

How DeployOpen scopes and delivers Orthanc container deployments

DeployOpen is a Chainscore Labs company that plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including cloud accounts, data centers and air-gapped networks. For a containerized Orthanc deployment, that means the work covers choosing between the default and full image tags, deciding which plugins to enable, placing the index and DICOM file storage on volumes or external services the client controls, wiring healthchecks, and documenting the Docker Compose layout so the client's own engineers can operate it. DeployOpen is not an Orthanc Team SRL partner, and the scope should say so plainly rather than imply a relationship that does not exist.

Most engagements of this kind are fixed-scope. Before work starts, the written scope should name the image tags and version, the enabled plugins, the database and object storage back ends, the reverse proxy and TLS arrangement, the secrets approach, the backup and restore test, and the handover documents. Deliverables and timelines are agreed in that document, and a quote follows from it. Ask for each of these items to be listed separately so that a change in one, such as adding an object storage plugin or moving to a larger database, is visible as a scope change with its own price impact. DeployOpen does not publish a price list, so the written scope is the basis for comparing offers.

Ongoing support is available as a retainer. In a container setup, retainer work usually covers applying Orthanc point releases, rebuilding images against a new tag, testing plugin compatibility and restoring from backup on a schedule, all of which recur for as long as the system runs. Ask whether the retainer includes the upgrade testing described in the Orthanc upgrades group and whether it covers the PostgreSQL server underneath. Confirm the response expectations in writing, since none are supplied here.

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.