docs/main/deployment-guide/air-gapped-operations/mirror-package-repositories.mdx
In an air-gapped enclave, every package and container image Mattermost depends on must come from a mirror inside the enclave. There is no fall-through to upstream registries. This page enumerates the artifacts that need mirroring and the trust topology that ties them together.
Mirror the upstream Linux package repositories for the OS image you run Mattermost on. Mattermost requires recent versions of glibc, ca-certificates, and (for plugins) ImageMagick and xpdf-utils. PostgreSQL is the only supported database for new installs.
apt repos for the release you use (e.g., noble, jammy). Tools: apt-mirror, aptly, internal Pulp 3.dnf / zypper repos. Tools: reposync, Red Hat Satellite, Pulp.Mattermost publishes three artifact families. Stage all three on your operator workstation, verify checksums and signatures, then transfer across the air gap.
| Artifact | Source | Verification |
|---|---|---|
Server tarball (mattermost-VERSION-linux-amd64.tar.gz) | releases.mattermost.com | SHA-256 + PGP signature |
Container images (mattermost/mattermost-enterprise-edition:VERSION, mattermost/mattermost-mobile-push-proxy:VERSION) | Docker Hub | Image digest (sha256:…) |
| Mattermost Operator Helm chart | chartmuseum.mattermost.com | SHA-256 of .tgz |
Pre-built plugins ship as signed .tar.gz files from the Mattermost Marketplace. Stage the bundle of plugins you intend to install (e.g., Channel Export, Legal Hold, Calls, AI Agents) before the air-gap transfer.
:::important
The Mattermost Marketplace itself cannot reach your enclave. After air-gapped install, the Marketplace UI surface is disabled (see Disable Phone-Home Features). Plugins are installed via mmctl plugin add from the local file system.
:::
For Kubernetes / container deployments, push the Mattermost container images to your internal registry (Harbor, Artifactory, Quay, GitLab Container Registry, AWS ECR inside GovCloud). Tag images with the same version strings you pulled upstream.
Configure your Kubernetes cluster's imagePullSecrets to authenticate to the internal registry, and configure the Mattermost Operator Helm chart's image.repository value to point at the internal path (e.g., registry.enclave.example/mattermost/mattermost-enterprise-edition).
The artifact-trust chain inside the enclave depends on:
apt update / dnf install will fail with TLS errors.After mirroring is complete:
apt update (or distribution equivalent) succeeds against only the internal mirror.docker pull registry.enclave.example/mattermost/mattermost-enterprise-edition:VERSION succeeds.helm pull oci://registry.enclave.example/charts/mattermost-operator --version VERSION succeeds.releases.mattermost.com, chartmuseum.mattermost.com, or Docker Hub during install.This page is a stub — Phase 2 will add per-distribution apt-mirror / reposync configuration examples and a Harbor + GovCloud ECR worked example. Tracked in docs/_redesign/proposed-ia.md §6 in the repo.