Running Metabase on Podman

Running self-hosted Metabase on Podman on RHEL-family hosts, with rootless containers, an external application database and a systemd service, and what to confirm before production.

On this page

Running Metabase on Podman for production on RHEL

A platform team that has standardized on RHEL-family hosts and Podman rather than Docker can run Metabase on that stack. Metabase documents Podman quick starts for both the Open Source edition and Pro or Enterprise, and it documents a production installation that uses an external application database, so the Podman path is a supported documented route rather than a workaround. The documentation covers the container setup, running the instance as a service, and setting JAVA_TIMEZONE. Confirm the exact steps against the Podman page for the Metabase version you plan to run, since the commands and image tags change between releases.

Podman fits well when the host policy already favors rootless containers and a daemonless runtime that integrates with systemd, because the Metabase process runs under an unprivileged account and the service lifecycle can be managed with the same tools as the rest of the estate. Choose Docker instead if your standard tooling, CI pipelines and support runbooks are built around the Docker engine and you do not want a second runtime to maintain. Choose Kubernetes if you need several replicas, rolling upgrades and ingress managed by a cluster you already operate. Choose a JAR under systemd if you want the fewest moving parts and your team is comfortable managing the Java runtime directly.

Before committing, ask your platform team to confirm three things: which RHEL major version and Podman release your hosts run, whether your security baseline permits rootless operation for the service account, and who owns the external application database and its backups. The application database should be PostgreSQL for production, and the upgrade process depends on backing it up first, so that ownership question matters as much as the container runtime choice.

Which Podman setup fits your environment

This table compares the three Podman paths Metabase documents: the Open Source quick start, the Pro or Enterprise quick start, and a production installation with an external application database. Read each row against your plan, your identity requirements and the work your team will own after go-live. The main takeaway is that the quick starts are for evaluation, while the production path is the one that needs a planned database, secrets and timezone configuration.

PathWhen it fitsPlan needed for SSO and permissionsWhat your team must add
Open Source quick startEvaluating Metabase on a single Podman host with no shared users or sensitive dataOpen Source (SSO and row or column permissions not included)Not production ready: data handling, backups, TLS and hosting decisions
Pro or Enterprise quick startTesting paid features such as SSO, permissions and auditing on one host before a wider rolloutPro or Enterprise for SSO, row and column permissions, and usage auditingLicensing setup, a plan for the application database, and hardening before production use
Production with external application databaseShared, long-running instances that must survive restarts, upgrades and host replacementDepends on the edition you choose, so confirm features against the pricing pageExternal PostgreSQL (recommended), backups, secrets, TLS, service management and monitoring
Embedded H2 application databaseDemos and short-lived testing onlyNot applicable to plan choiceNothing for production, since H2 is not the production choice and migration is needed later
PostgreSQL application databaseProduction default for most teamsNot applicable to plan choiceDatabase provisioning, backups, upgrades and access control for the database
MySQL 8.4.0 or MariaDB 10.6.0 or laterTeams that already standardize on MySQL or MariaDBNot applicable to plan choiceutf8mb4 character set configured, plus the same backup and upgrade discipline
JAVA_TIMEZONE settingAny host where the container timezone differs from the timezone your reports expectNot applicable to plan choiceSet the value deliberately and confirm it against your reporting and scheduling needs

Setup sequence for Metabase on Podman

This sequence takes a RHEL-family host from a clean Podman install to a Metabase container running as a service, backed by an external PostgreSQL application database, with a confirmed login. Each step ends with a check so you know it is safe to move on.

  1. Prepare the RHEL host and rootless Podman

    The platform team confirms the host is registered to its update source, installs Podman, and creates a dedicated unprivileged user that will own the Metabase containers. Confirm that the user has subordinate UID and GID ranges in /etc/subuid and /etc/subgid, since rootless containers depend on them. Verify by running a throwaway container as that user, which should start and exit without needing root. Ask your RHEL administrator to confirm the exact package names and any site-specific registry or proxy settings before you begin.

  2. Provision the PostgreSQL application database

    Create a PostgreSQL instance outside the container, either on a database server you already operate or on a managed service in your environment, and create an empty database and a login role for Metabase. Metabase recommends PostgreSQL for production instead of the embedded H2 database. Confirm the role can connect from the Metabase host over the network path you intend to use, and that the database is backed up on your normal schedule. The check is a successful test connection from the Metabase host using the same credentials Metabase will receive. The Metabase application database documentation lists the connection settings Metabase expects.

  3. Configure environment variables and secrets

    Prepare an environment file that holds the application database connection settings and the Metabase encryption secret, with file permissions limited to the service owner. Keep the secret out of shell history, image layers and version control, and store a copy in your approved secrets manager so it can be restored if the host is rebuilt. Confirm the file is readable only by the rootless service user and that the values match the database role created in the previous step. The Metabase Podman documentation gives the variable names and the exact container invocation to use with them.

  4. Set the Java timezone

    Set JAVA_TIMEZONE in the environment file to the timezone your reporting should use, so that timestamps in Metabase match the business calendar and the database servers. Agree the value with the teams that own reporting and data sources, because it affects how date filters and scheduled reports behave. Confirm the setting by checking a known timestamp in a saved question after the container starts, comparing it with the source database. The Podman documentation covers how the variable is passed into the container.

  5. Run the container with persistent storage

    Start the Metabase container as the rootless user, with the environment file attached and any persistent paths mounted so that plugins and configuration survive a container restart. Use the Open Source or Pro and Enterprise quick start in the Metabase documentation according to the edition you have licensed, and pin the image to a specific release rather than a floating tag. Confirm the container is running, that the port is published only where you intend, and that the logs show a successful connection to the application database without migration errors. Record the image tag you deployed, since it determines your upgrade path later.

  6. Generate a systemd unit to run it as a service

    Generate a systemd unit from the running container with Podman's unit generation tooling, or write one by hand following the Metabase guidance, then place it in the user systemd directory for the service account. Enable lingering for that user if the service must start at boot without an interactive login, which your RHEL administrator should approve. Confirm the unit starts cleanly, restarts after a forced container stop, and comes back after a host reboot in a test window. Keep the unit file under version control so that changes to image tags or environment settings are reviewed.

  7. Verify health and first login

    Check the Metabase health endpoint from the host and from a client network segment that reflects your users, then sign in with the initial administrator account and complete the setup wizard. Confirm that the instance connects to the application database, that a test data source can be queried, and that a saved question returns the expected result. Record the results, the image tag, and the unit file version as the baseline for your change records. Plan SSO, TLS and any outbound proxy settings as separate work, since those depend on your identity provider and network policy.

How rootless containers and systemd change the operating model

Running Metabase rootless under a dedicated service account is the main way this setup limits what a compromised or misconfigured container can do to the host. The container runs as a user with no root privileges and no login shell, so a breakout from the application lands in an account that can only write to its own home directory, its own configuration and its own volumes. Plan the service account before anything else: create it without an interactive login, give it a home directory on a filesystem you control, and confirm that its subordinate UID and GID ranges are set in /etc/subuid and /etc/subgid so Podman can map container users. Confirm the exact steps for your RHEL-family release against Red Hat's current Podman documentation, since defaults differ between major versions.

Podman's systemd integration is what keeps the container running across reboots. Generate or write a unit that starts the container, restarts it on failure and reads its environment from a file with restricted permissions, then enable it as a user service. For a user service to start at boot without an active login session, lingering must be enabled for the service account with loginctl enable-linger, and you should verify this with loginctl show-user before you rely on it. Keep the unit, the environment file and the application database connection details under version control or your configuration management so that a rebuilt host comes back with the same operating model.

Ownership and labeling are where most rootless deployments fail in practice. Files mounted into the container, such as a configuration file or a directory for plugins, must be readable by the mapped container user, which usually means checking ownership inside the user namespace rather than on the host. On SELinux-enforcing RHEL-family hosts, bind mounts may need a relabel option such as :Z or :z, and you should confirm the correct approach for your policy with your security team and by reviewing audit logs for denials. Logs are read through journald with journalctl --user -u on the unit name, which requires the service account's journal access, or through your central log pipeline. Confirm that log access, retention and who may read the service account's journal meet your logging requirements before go-live.

Security and operational considerations on Podman

A Metabase container on Podman holds database credentials, an encryption key and a web session boundary, so each choice below affects who can read the application database and who can reach the login page. The cards cover secrets, backups, exposure, version control, isolation limits and day-to-day monitoring, in the order most teams encounter them.

Keep secrets out of image layers

The application database connection and the encryption key should be supplied at runtime, through an environment file or Podman secrets, never written into a Containerfile or baked into a derived image. Anything in an image layer can be read by anyone who can pull that image. Check with podman history and podman inspect that no password or key appears in the image metadata, and confirm that the key file on the host is readable only by the service account that runs the container.

Application database docs

Back up the application database before upgrades

Metabase runs application database migrations automatically when a new version starts, so the database backup is your rollback point. Take a dump of the PostgreSQL application database immediately before every image change, label it with the version it came from, and test that it restores into a scratch database. Keep the encryption key with that backup, because the stored data cannot be read without it.

Upgrade guide

Limit exposure behind a TLS proxy

Publish only the reverse proxy port on the host and bind the Metabase container to localhost or an internal network, so users reach it through the proxy and not the application port directly. Terminate TLS at the proxy, set the site URL to the HTTPS address, and make sure forwarded headers reach the container. Confirm the application database port is reachable only from the Metabase container.

Pin image tags and read release notes

Reference an exact Metabase version tag in your run command or unit file rather than a moving tag such as latest, so a restart never changes the version. Before moving to a new release, read its release notes and the version support page to confirm the target is still supported and whether it is an LTS line. Record the tag you deploy in your change log.

Version support

Know the limits of rootless isolation

Rootless Podman keeps the container's processes from holding root privileges on the host, which reduces the impact of a container escape. It does not protect data the container is allowed to reach, so the database account, mounted volumes and network routes still define what a compromised Metabase can see. Review which host paths are mounted, drop unneeded capabilities where your Podman version supports it, and confirm the service account cannot write to the configuration directory.

Monitor container health and logs

Watch the container state, restart count and Metabase's application log, and alert on repeated restarts or database connection errors. Use podman healthcheck run against the health endpoint, and route container logs to your central log store with journalctl or a log driver if you run the container under systemd. Confirm that log output does not include database passwords or session tokens before you enable verbose logging.

How the Podman host, Metabase and the application database connect

The diagram starts with users reaching the reverse proxy on the RHEL host, which forwards requests to the Metabase container that runs rootless under Podman and is kept running by a systemd unit. The container reads and writes the external PostgreSQL application database across a trust boundary, and it queries the customer data sources, which sit in their own zone. Check that the application database is reachable only from the Metabase container and that data source credentials are scoped to read access.

Traffic and trust boundaries for a rootless Podman Metabase host.

Limits to confirm in your environment

Several details in a Podman deployment depend on facts that change between releases and between organizations. The cards below cover what to verify against Metabase's published sources and your own standards before you commit to a version, a plan and a host build. Each check is cheap to make now and expensive to discover after go-live.

Metabase version and support window

Check which release line you intend to run and how long it receives fixes. LTS releases are supported for 14 months, while non-LTS releases usually reach end of life after about 2 months. Confirm the current LTS, its end-of-life date and whether a newer release has superseded your target before you pin an image tag. Your upgrade cadence should fit inside that window.

Version support page

Plan needed for SSO and permissions

The open source edition does not include SSO, row and column level permissions, or usage analytics and auditing. Those features require the Pro or Enterprise plans, so confirm which plan your identity and data access requirements need before you design the Podman setup. Ask for the current price in writing, since plan prices change.

Metabase pricing

RHEL and Podman support matrix

Confirm that your RHEL release and the Podman version it ships are supported under your organization's standard and by your Red Hat subscription. Check whether your security team accepts rootless operation under the service account you plan to use. Record the exact versions in your build record so the install can be reproduced.

Outbound network requirements

Map every outbound connection the container needs, including the connection to your application database, your data sources and any license or update checks your edition makes. Confirm with your network team whether a proxy or allowlist applies to the host and to the container network. Missing a single egress path often shows up only as a failed start or a stalled sync.

Image and tag match current docs

Before deployment, compare the image name, tag and environment variables with the Podman quick start and production install pages for the release you chose. Podman commands and option names can differ from Docker examples, so do not copy a Docker command unchanged. Record the image digest you pulled so you can confirm later which build is running.

Running Metabase on Podman

Application database version and encoding

Confirm that your PostgreSQL server version and the MySQL or MariaDB version you might choose are supported by the Metabase release you target. For MySQL and MariaDB, the documented minimums and utf8mb4 encoding are requirements, not suggestions. Ask your database team whether backups and point-in-time recovery cover the application database used by the container.

Application database docs

Questions teams ask before running Metabase on Podman

Does Podman work as well as Docker for running Metabase?

Metabase documents Podman quick starts and a production installation with an external application database, so Podman is a supported path for running the container image. The practical differences sit in the host: rootless operation, how containers start as services, and how the host's firewall and SELinux policy treat published ports and volumes. Confirm the image tag you plan to run and test the same configuration on a non-production RHEL-family host before you rely on it. The application itself behaves the same way regardless of the container runtime.

What does a Podman deployment cost beyond licensing?

The Open Source edition is listed as free on Metabase's pricing page, so licensing is only one line. Starter is listed at $100 per month or $90 per month billed yearly with the first 5 users included, and Pro at $575 per month or $517.50 per month billed yearly with the first 10 users included. Enterprise is priced by quote starting at $20,000 per year. Beyond licensing, you pay for the RHEL subscription, host capacity, a PostgreSQL application database, backups, monitoring, and the staff or partner time to build and operate it. Ask for each of these as separate line items in any quote.

How long does setup take, and what drives the timeline?

The duration depends mainly on how many environments you need, whether the application database is provisioned for you or built by your team, and how much identity and network work is involved. Single-user evaluation can be quick, but a production instance needs a database with backups, a TLS-terminating proxy, a service unit, and a tested upgrade procedure. Each SSO or data source connection adds review time. Ask for a written scope with milestones, and check which items your change process requires, such as security review or firewall requests.

What does the work need from our platform team?

Expect your platform team to provide a RHEL-family host or VM with Podman installed, outbound access rules that match your policy, DNS and certificates for the public name, and a PostgreSQL instance or managed database for the application database. They will also need to approve service accounts, secret storage, log collection, and a backup schedule. Confirm who owns the host patching cycle and who can restart the service during an incident before work begins.

Can our team do this ourselves using the Metabase docs?

Yes, if your team already runs Linux services, container hosts and PostgreSQL. The Metabase Podman documentation covers the quick start, the production installation with an external application database, running as a service, and setting the Java timezone. What the docs do not decide for you is how your environment fits: network zones, secret handling, backup targets, monitoring and change control. Teams that lack those skills often spend more time on the surrounding platform work than on Metabase itself. An internal pilot on a non-production host is a reasonable way to test your own skills first.

How are upgrades and rollbacks handled on Podman?

Metabase runs application database migrations automatically on upgrade, so back up the application database before you change the image tag. The upgrading documentation advises reducing a cluster to a single node for major upgrades because of a migration lock, and upgrading release by release from versions older than 40. Rollback is done by restoring the pre-upgrade application database backup, which is the recommended route, or by running the migrate down command with the newer JAR. Metabase 64 is an LTS release with end of life on 1 December 2027, so pin the tag and schedule upgrades around the version support page.

Do we need a paid plan to use SSO with Podman-hosted Metabase?

Yes for SAML, JWT, OIDC, advanced LDAP group sync and SCIM. According to Metabase's people and groups documentation, Open Source and Starter support Google sign-in and LDAP, while the other methods require Pro or Enterprise. The container runtime does not change this. Check the plan requirement against your identity provider before choosing a tier, because it affects the licensing line in your budget.

What should we check before accepting a Podman deployment quote?

Ask the provider to state the Metabase edition and plan, the host and database responsibilities, the backup and restore test they will perform, the upgrade and rollback procedure, and what is excluded. Confirm who handles security findings and how changes are approved. DeployOpen plans and implements self-hosted platforms in infrastructure you control and works from a fixed-scope written agreement, so ask for the scope, deliverables and timeline in writing before work starts.

Upgrading and rolling back a Podman-hosted Metabase

Treat every Metabase upgrade on Podman as a database change first and a container change second. Metabase runs its application database migrations automatically when a new JAR or image starts, so the most important step is a verified backup of the application database taken before you change the image tag. Confirm the backup is restorable by restoring it to a scratch database, and record the exact Metabase version that is currently running so you can match it during rollback. If the instance is a cluster, the upgrade guidance reduces it to a single node for major upgrades because of a migration lock, so plan a short window and scale back up only after the new version reports healthy.

Check your starting point before you pull anything. The upgrade documentation recommends upgrading release by release when you are on a version older than 40, so you may need intermediate stops rather than a single jump. On Podman, pin the image tag in your unit file or Compose definition, change it in one place, and restart the service under the same rootless user that owns the container. Confirm the target line in the Metabase version support page before you commit. Metabase 64 is an LTS release with end of life on 1 December 2027, and LTS versions are supported for 14 months, so choosing an LTS line sets how often you must repeat this process. Non-LTS versions usually reach end of life after 2 months, so they demand more frequent upgrades.

Rollback has two routes, and the documentation prefers the first. Restoring the pre-upgrade application database backup returns the schema and data to the state the older version expects, and it is the path to rehearse. The alternative is running the migrate down command with the newer JAR, which reverses migrations in place and depends on the newer build still starting. Write down which route your runbook uses, keep the old image tag available in your registry or local storage, and test the restore on a copy before you need it. Confirm with your Metabase contacts and the upgrade documentation how the migrate down command is invoked for your container setup, since command details can differ by version.

How DeployOpen delivers Metabase on Podman

DeployOpen plans, builds, documents and supports self-hosted Metabase inside your own infrastructure, including Podman hosts on RHEL-family systems. We start from a written scope, build the rootless container setup with a production application database, and hand over the runbook your team needs to operate it.

How we scope

  • Confirm the RHEL-family host versions, Podman version and whether Metabase runs rootless under a dedicated service account
  • Agree whether the Open Source edition or a Pro or Enterprise plan is in scope, since SSO and row-level permissions depend on the plan
  • Define the external application database, backup target and the Java timezone your reporting needs

How we build

  • Build the Podman quick start into a production configuration with an external application database instead of embedded H2
  • Set JAVA_TIMEZONE, secrets handling and persistent configuration, then run the container as a managed service
  • Test a restore of the application database and a container restart before the environment is accepted

How we hand over

  • Deliver a runbook covering container start, stop, upgrade, rollback and the backup and restore steps for the application database
  • Document the Metabase version in use, its end-of-life date from the version support page and the upgrade path to follow
  • Walk your platform and security teams through the configuration so they can review it against your own standards

How we support

  • Support is available as a retainer for upgrades, patching, monitoring and continuous testing of the Podman host and Metabase container
  • Each upgrade follows a planned application database backup and a tested rollback path before the new image goes live
  • Ask for the support scope, response expectations and change process in the written quote before work starts

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.