About mirror registry for Red Hat OpenShift
The mirror registry for Red Hat OpenShift 3.0 is a streamlined container registry that you can use as a target for mirroring the required container images of OpenShift Container Platform for disconnected installations.
Mirror registry for Red Hat OpenShift 3.0 is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
The mirror registry for Red Hat OpenShift is not intended to be a substitute for a production deployment of Red Hat Quay.
If you already have a container image registry, such as Red Hat Quay, you can skip this section and go straight to "Mirroring the OpenShift Container Platform image repository".
Mirror registry for Red Hat OpenShift introduction
For disconnected deployments of OpenShift Container Platform, a container registry is required to carry out the installation of the clusters.
To run a production-grade registry service on such a cluster, you must create a separate registry deployment to install the first cluster. The mirror registry for Red Hat OpenShift addresses this need and is included in every OpenShift Container Platform subscription. It is available for download on the "OpenShift console Downloads" page.
The mirror registry for Red Hat OpenShift 3.0 is a single Go binary (mirror-registry) that installs and manages a lightweight OCI container registry on the local host. It handles initialization, TLS certificate generation, systemd service management, and image serving through a single command, with no external dependencies beyond Podman. The registry runs as a Podman container managed by systemd using a Quadlet .container unit file.
The mirror-registry install command is the one-command setup. It handles everything from database and admin user initialization to TLS certificate generation, container image loading, and systemd service creation in a single step. All access credentials and the registry URL are printed at the end of the install routine.
Use of the mirror registry for Red Hat OpenShift is optional if another container registry is already available in the install environment.
Mirror registry for Red Hat OpenShift limitations
The following limitations apply to the mirror registry for Red Hat OpenShift:
-
The mirror registry for Red Hat OpenShift is not a highly-available registry and only local file system storage is supported. It is not intended to replace Red Hat Quay or the internal image registry for OpenShift Container Platform.
-
The mirror registry for Red Hat OpenShift is not intended to be a substitute for a production deployment of Red Hat Quay.
-
The mirror registry for Red Hat OpenShift is only supported for hosting images that are required to install a disconnected OpenShift Container Platform cluster, such as release images or Red Hat Operator images. It uses local storage on your Red Hat Enterprise Linux (RHEL) machine, and storage supported by RHEL is supported by the mirror registry for Red Hat OpenShift.
noteBecause the mirror registry for Red Hat OpenShift uses local storage, you should remain aware of the storage usage consumed when mirroring images. The registry includes a built-in garbage collector that runs automatically every 30 seconds inside the registry container. Deleted tags are permanently removed after a 14-day grace period. No user action is required for garbage collection.
To manually delete images, use standard OCI registry tools:
skopeo delete docker://<host>:<port>/<repository>/<image>:<tag>to delete a specific manifest or tag.oc-mirror deletefor bulk cleanup of mirrored OpenShift Container Platform content.
-
The mirror registry for Red Hat OpenShift has no web UI or Red Hat Quay console. All registry management is performed through the CLI or the registry API.
-
The mirror registry for Red Hat OpenShift installs only on the local host. Remote host installation is not supported.
-
Support for Red Hat product images that are pushed to the mirror registry for Red Hat OpenShift for bootstrapping purposes are covered by valid subscriptions for each respective product. For a list of exceptions to further enable the bootstrap experience, see "Self-managed Red Hat OpenShift sizing and subscription guide".
-
Content built by customers should not be hosted by the mirror registry for Red Hat OpenShift.
-
Using the mirror registry for Red Hat OpenShift with more than one cluster is discouraged because multiple clusters can create a single point of failure when updating your cluster fleet. Instead, use the mirror registry for Red Hat OpenShift to install a cluster that can host a production-grade, highly-available registry such as Red Hat Quay, which can serve OpenShift Container Platform content to other clusters.
Additional resources
- Creating a mirror registry with mirror registry for Red Hat OpenShift
- OpenShift console Downloads
- Self-managed Red Hat OpenShift sizing and subscription guide
Configure rootless Podman networking
To restore rootless Podman networking when the default pasta stack fails on OpenShift Container Platform mirror or install hosts, you can set the default rootless network back to slirp4netns in the /etc/containers/containers.conf file, or in the user’s ~/.config/containers/container.conf file.
You might need to configure rootless Podman networking after upgrading to RHEL 9.5 or Podman 5.0. In these versions, the default networking stack changed from slirp4netns to pasta. As a result, systems that previously operated without a default route might no longer be able to establish network connectivity and could display the following error:
Error: pasta failed with exit code 1:
External interface not usable
Prerequisites
- You have updated to RHEL 9.5 or Podman 5.0.
Procedure
- Use your preferred IDE to modify the
/etc/containers/containers.confor~/.config/containers/container.conffile.- To modify the
/etc/containers/containers.conffile, enter the following command:$ nano /etc/containers/containers.conf - To modify the
~/.config/containers/container.conffile, enter the following command:$ nano ~/.config/containers/container.conf
- To modify the
- Add, or update, the
[network]section as in the following example:# ...[network]default_rootless_network_cmd = "slirp4netns"# ... - Restart the Podman system as the rootless user by entering the following command. Note that all containers must be stopped and restarted for the change to take effect.
$ podman system migrate
Installing mirror registry for Red Hat OpenShift
You can install the mirror registry for Red Hat OpenShift on a local host by using the mirror-registry install command. This creates a registry running on port 8443 for the purpose of storing a mirror of OpenShift Container Platform images.
The mirror-registry install command is for new installations only. If a registry is already installed on the host, use mirror-registry upgrade to update it or mirror-registry uninstall to remove it.
After installation, a systemd service (quay.service) is created and started. The registry runs as a Podman container managed by a systemd Quadlet unit file. All access credentials and the registry URL are printed at the end of the install routine.
Prerequisites
-
An OpenShift Container Platform subscription.
-
Red Hat Enterprise Linux (RHEL) 9 or later.
-
Podman 4.4 or later.
-
A fully qualified domain name (FQDN) or IP address for the registry host. When using auto-detection, the hostname must be a FQDN. If you pass a hostname explicitly with
-hostname, an IP address is also supported. The hostname or IP address must resolve by DNS or be present in/etc/hostson each client machine that will access the registry. -
About 50 GB or more of available disk space for mirrored OpenShift Container Platform images, depending on the number of releases you mirror.
noteUp to 1 TB per stream or more is suggested. Storage requirements can vary based on your organization’s needs. To remove unnecessary images and free up space, use
skopeo deleteto delete individual tags oroc-mirror deletefor bulk cleanup of mirrored OpenShift Container Platform content. The registry reclaims space automatically through its built-in garbage collector. -
A valid OpenShift Container Platform pull secret from console.redhat.com.
Procedure
-
Download the
mirror-registrybundle for the latest version of the mirror registry for Red Hat OpenShift found on the OpenShift console Downloads page. -
Extract the bundle and make the binary executable by running the following commands:
$ tar -xzf mirror-registry-amd64.tar.gz$ chmod +x mirror-registry -
Install the mirror registry for Red Hat OpenShift on your local host by using the
mirror-registrytool. For a full list of available flags, see "Mirror registry for Red Hat OpenShift flags".- For an air-gapped environment, specify the path to the included container image archive:
$ ./mirror-registry install \-data-dir /var/lib/quay \-image-archive image-archive.tar
- For a non-root installation, use a user-writable path for the data directory.
- Non-root installations require cgroups v2. RHEL 9 uses cgroups v2 by default. Verify that cgroups v2 is enabled by running the following command:
$ podman info --format '{{.Host.CgroupsVersion}}'
- Install the registry as a non-root user by running the following command:
$ ./mirror-registry install \-data-dir ~/quay-data \-image-archive image-archive.tar
- Optional: The installation program automatically detects the system hostname. To specify a hostname, pass the
-hostnameflag by entering the following command:$ ./mirror-registry install \-data-dir <data_dir> \-hostname <host_example_com> \-image-archive image-archive.tar
- Non-root installations require cgroups v2. RHEL 9 uses cgroups v2 by default. Verify that cgroups v2 is enabled by running the following command:
- For an air-gapped environment, specify the path to the included container image archive:
-
Use the username and password generated during installation to log in to the registry by running the following command:
$ podman login -u admin \-p $(cat <data_dir>/auth/admin-password) \<host_example_com>:8443 \--tls-verify=false-
Substitute
<data_dir>with the data directory you specified during installation. You can avoid running--tls-verify=falseby adding/ssl.certto your system’s trusted certificate store. For example:$ sudo cp <data_dir>/ssl.cert /etc/pki/ca-trust/source/anchors/ && sudo update-ca-trust
-
-
Mirror OpenShift Container Platform images after logging in. Depending on your needs, see either the "Mirroring the OpenShift Container Platform image repository" or the "Mirroring Operator catalogs for use with disconnected clusters" sections of this document.
noteIf there are issues with images stored by the mirror registry for Red Hat OpenShift due to storage layer problems, you can re-mirror the OpenShift Container Platform images, or reinstall the mirror registry on more stable storage.
Data directory layout for mirror registry for Red Hat OpenShift
After installation, the mirror registry for Red Hat OpenShift stores all data under a single configurable data directory. The following describes the contents of the data directory.
<data_dir>/
├── quay.db
├── auth/
│ └── admin-password
├── ssl.cert
├── ssl.key
├── registry-jwt.pem
└── storage/
├── sha256/
└── uploads/
<data_dir>/quay.db- The SQLite database containing users, repositories, and manifests.
<data_dir>/auth/admin-password- The admin credentials file. This file has mode 0600 and can only be read by the user who ran
mirror-registry install. <data_dir>/ssl.cert- The TLS certificate used for HTTPS.
<data_dir>/ssl.key- The TLS private key used for HTTPS.
<data_dir>/registry-jwt.pem- The JWT signing key used for registry authentication tokens.
<data_dir>/storage/- The image blob storage directory containing content-addressable blobs and in-progress uploads.
Upgrading mirror registry for Red Hat OpenShift
You can upgrade the mirror registry for Red Hat OpenShift by using the mirror-registry upgrade command. Use this command for z-stream updates only, for example, from 3.0.0 to 3.0.1. The upgrade command replaces the container image of the installed registry in place and preserves all existing data, credentials, certificates, hostname, and port.
Use mirror-registry upgrade only for mirror registry for Red Hat OpenShift 3.0 z-stream updates. To migrate from mirror registry for Red Hat OpenShift 2.0.x to 3.0, use mirror-registry migrate instead.
The upgrade preserves the following:
- All registry data, including the database, images, and blob storage
- Credentials, including the admin password and JWT signing keys
- TLS certificates
- Hostname and port
Prerequisites
- You have installed the mirror registry for Red Hat OpenShift 3.0 on the local host.
Procedure
-
Download the
mirror-registrybundle for the latest version of the mirror registry for Red Hat OpenShift from the OpenShift console Downloads page. -
Extract the bundle and make the binary executable by running the following commands:
$ tar -xzf mirror-registry-amd64.tar.gz$ chmod +x mirror-registry -
Upgrade the mirror registry for Red Hat OpenShift by running the
mirror-registry upgradecommand from the new binary:-
For a connected environment, run
upgradewithout-image-archive. The new binary pulls its matching container image from the registry automatically:$ ./mirror-registry upgrade -
For an air-gapped environment, download the full bundle and pass the
-image-archiveflag:$ ./mirror-registry upgrade -image-archive image-archive.tarnoteThe hostname, port, and data directory are detected from the existing installation and do not need to be specified.
-
Optional: To replace TLS certificates during upgrade, pass both the
-ssl-certand-ssl-keyflags together:$ ./mirror-registry upgrade \-image-archive image-archive.tar \-ssl-cert /path/to/new-cert.pem \-ssl-key /path/to/new-key.pem
-
Verification
-
Verify that the mirror registry for Red Hat OpenShift is running with the updated image by entering the following command:
$ systemctl status quay.serviceFor a non-root installation, use:
$ systemctl --user status quay.service
Migrating from mirror registry for Red Hat OpenShift 2.0.x (SQLite)
If you are running mirror registry for Red Hat OpenShift 2.0.x with the default SQLite backend, you can migrate to 3.0 by using the mirror-registry migrate command. The command auto-detects the existing installation, copies all data to the new data directory, upgrades the database schema, and installs the new registry.
Use mirror-registry migrate only to migrate from a 2.0.x installation to 3.0. For 3.0 z-stream updates, use mirror-registry upgrade instead. The migrate command exits with an error if a 3.0 installation already exists on the host.
Do not run mirror-registry migrate and mirror-registry install separately. The migrate command calls install internally after copying data.
Prerequisites
- The 2.0.x registry is running and healthy before migration.
- You can pull images from the old registry.
- Sufficient free disk space is available for the new data directory. The migration copies data rather than moving it.
Procedure
-
Download the new
mirror-registrybundle for the latest version of the mirror registry for Red Hat OpenShift from the OpenShift console Downloads page. -
Extract the bundle and make the binary executable by running the following commands:
$ tar -xzf mirror-registry-amd64.tar.gz$ chmod +x mirror-registry -
Run the migration by entering the following command. The
mirror-registry migratecommand auto-detects your 2.0.x installation by probing systemd units, Podman volumes, and the default~/quay-install/path:$ ./mirror-registry migrate -image-archive image-archive.tarIf auto-detection fails, or if you installed 2.0.x in a non-default location, specify the source root explicitly:
$ ./mirror-registry migrate \-source-root ~/quay-install \-data-dir /var/lib/quay \-image-archive image-archive.tarAlternatively, specify individual paths:
$ ./mirror-registry migrate \-source-db ~/quay-install/sqlite-storage/quay_sqlite.db \-source-storage ~/quay-install/quay-storage \-source-certs ~/quay-install/quay-config \-data-dir /var/lib/quay \-hostname <host_example_com> \-image-archive image-archive.tar -
Optional: Preview the migration plan without making any changes by running the following command:
$ ./mirror-registry migrate -source-root ~/quay-install -dry-runThe output shows the detected source paths, hostname, and target directory.
Verification
-
Log in to the new registry by entering the following command:
$ podman login -u admin \-p $(cat /var/lib/quay/auth/admin-password) \--tls-verify=false \<host_example_com>:8443 -
Pull an image that existed before migration to verify the data was copied successfully:
$ podman pull <host_example_com>:8443/<repository>/<image>:<tag> --tls-verify=false -
Push a new test image to verify write access:
$ podman tag docker.io/library/alpine:latest <host_example_com>:8443/admin/alpine:test$ podman push <host_example_com>:8443/admin/alpine:test --tls-verify=false -
After verifying the migration, remove the old 2.0.x services and Podman volumes by running the following command:
$ ./mirror-registry migrate -source-root ~/quay-install -cleanupnoteThe
~/quay-installdirectory itself is preserved after cleanup because it may contain thequay-rootCA/directory that clients trust.
Migrating from mirror registry for Red Hat OpenShift 2.0.x (PostgreSQL)
If your mirror registry for Red Hat OpenShift 2.0.x installation uses PostgreSQL, you can migrate to 3.0 by using the mirror-registry migrate command.
The PostgreSQL migration path converts the PostgreSQL data to SQLite and installs the new registry. The mirror-registry migrate command handles the database connection automatically by re-executing itself inside the PostgreSQL container’s network namespace using nsenter.
- The PostgreSQL migration path does not support the
-dry-run,-cleanup, or-skip-installflags. These flags are available for SQLite source migrations only. - The target directory must be clean, that is, empty or non-existent. The PostgreSQL migration does not support resuming a previous attempt. If a previous attempt left partial data, remove the target directory before retrying.
If the PostgreSQL migration fails at any point, the following actions are taken automatically:
- Intermediate migration artifacts (
quay.db.partial) are removed. - Any partially created 3.0 Quadlet installation is removed.
- The old 2.0.x services (
quay-pod,quay-postgres,quay-redis,quay-app) are restarted.
A failed PostgreSQL migration is safe to retry after addressing the root cause and providing a clean target directory.
Prerequisites
- The 2.0.x
quay-postgrescontainer andquay-podmust be running. The migration connects to PostgreSQL through the pod’s network namespace. - The old
quay-appservice must be stoppable. - No existing 3.0 Quadlet installation may be present. Uninstall it first if needed.
- Sufficient free disk space is available for the new data directory. The migration copies data rather than moving it.
Procedure
-
Download the new
mirror-registrybundle for the latest version of the mirror registry for Red Hat OpenShift from the OpenShift console Downloads page. -
Extract the bundle and make the binary executable by running the following commands:
$ tar -xzf mirror-registry-amd64.tar.gz$ chmod +x mirror-registry -
Run the migration, specifying your 2.0.x installation directory and the target data directory:
$ ./mirror-registry migrate \-source-root ~/quay-install \-data-dir /var/lib/quay \-image-archive image-archive.tarThe
-source-rootflag points to the 2.0.x installation directory (typically~/quay-install). The migration readsquay-config/config.yamlwithin it to determine the database type and connection details.
Verification
-
Log in to the new registry by entering the following command:
$ podman login -u admin \-p $(cat /var/lib/quay/auth/admin-password) \--tls-verify=false \<host_example_com>:8443 -
Pull an image that existed before migration to verify the data was copied successfully:
$ podman pull <host_example_com>:8443/<repository>/<image>:<tag> --tls-verify=false -
Push a new test image to verify write access by running the following commands:
$ podman tag docker.io/library/alpine:latest <host_example_com>:8443/admin/alpine:test$ podman push <host_example_com>:8443/admin/alpine:test --tls-verify=false
Replacing mirror registry for Red Hat OpenShift SSL/TLS certificates
In some cases, you might want to update your SSL/TLS certificates for the mirror registry for Red Hat OpenShift. You can replace certificates at installation time or during an upgrade by passing the -ssl-cert and -ssl-key flags.
Prerequisites
- You have downloaded the
mirror-registrybinary from the OpenShift console Downloads page. - You have a valid TLS certificate (PEM format) and its corresponding private key.
Procedure
-
To use custom TLS certificates at installation time, pass the
-ssl-certand-ssl-keyflags to themirror-registry installcommand:$ ./mirror-registry install \-data-dir /var/lib/quay \-image-archive image-archive.tar \-ssl-cert /path/to/cert.pem \-ssl-key /path/to/key.pem -
To replace TLS certificates on an existing installation, pass the
-ssl-certand-ssl-keyflags to themirror-registry upgradecommand:$ ./mirror-registry upgrade \-image-archive image-archive.tar \-ssl-cert /path/to/new-cert.pem \-ssl-key /path/to/new-key.pemnoteYou must provide
-ssl-certand-ssl-keytogether. Passing only one of these flags causes the command to fail.If the certificate hostname does not match the registry hostname, for example when using a wildcard or internal CA certificate, add the
-ssl-skip-hostname-verificationflag:$ ./mirror-registry upgrade \-image-archive image-archive.tar \-ssl-cert /path/to/cert.pem \-ssl-key /path/to/key.pem \-ssl-skip-hostname-verification
Uninstalling the mirror registry for Red Hat OpenShift
You can uninstall the mirror registry for Red Hat OpenShift from your local host.
Prerequisites
- You have installed the mirror registry for Red Hat OpenShift on the local host.
Procedure
-
Uninstall the mirror registry for Red Hat OpenShift from your local host by running the following command:
$ ./mirror-registry uninstall -data-dir /var/lib/quayYou are prompted for confirmation before the registry is removed. To skip the confirmation prompt and also delete the data directory, add the
-auto-approveflag:$ ./mirror-registry uninstall -data-dir /var/lib/quay -auto-approvenoteYou must pass the same
-data-dirpath that was used during installation. The uninstall command stops thequay.service, removes the systemd Quadlet unit file, and, when-auto-approveis specified, deletes the data directory.
Mirror registry for Red Hat OpenShift flags
You can use flags when managing the mirror registry for Red Hat OpenShift. Flags are organized by subcommand. Global flags apply to all subcommands.
Global flags
The following flags are available for all mirror-registry subcommands:
| Flag | Default | Description |
|---|---|---|
-log-format | json | The log output format. Accepted values are json and text. |
-log-level | info | The log verbosity level. Accepted values are debug, info, warn, and error. |
install flags
The install subcommand sets up a new registry. If a registry is already installed on the host, use mirror-registry upgrade instead.
| Flag | Default | Description |
|---|---|---|
-data-dir | /var/lib/quay | The directory for the database, image storage, TLS certificates, and credentials. All registry data is stored under this path. |
-hostname | Auto-detected FQDN | The server hostname or IP address used for TLS configuration and the registry URL. When auto-detected, the hostname must be a fully qualified domain name (FQDN). IP addresses are supported when passed explicitly with -hostname. The hostname or IP address must resolve by DNS or be present in /etc/hosts on all clients. |
-port | 8443 | The HTTPS port for the registry. |
-image-archive | (none) | The path to the container image tar archive. Required for air-gapped installations. If omitted on a connected host, the image is pulled from the registry automatically. |
-init-user | admin | The username of the initial admin user created during installation. |
-init-password-stdin | false | When set, reads the admin password from stdin instead of auto-generating one. |
-ssl-cert | (auto-generated) | The path to a custom TLS certificate in PEM format. If omitted, a self-signed certificate is generated. |
-ssl-key | (auto-generated) | The path to the TLS private key in PEM format. Must be provided together with -ssl-cert. |
-ssl-skip-hostname-verification | false | Skips the check that the TLS certificate hostname matches -hostname. Use when you have a wildcard or internal CA certificate. |
upgrade flags
The upgrade subcommand replaces the container image of an existing installation in place. The hostname, port, and data directory are preserved from the existing installation unless explicitly overridden.
| Flag | Default | Description |
|---|---|---|
-image-archive | (none) | The path to the new container image tar archive. Required for air-gapped upgrades. If omitted on a connected host, the image is pulled automatically. |
-data-dir | (detected from the existing installation) | Must match the data directory of the installed registry. Passing a path that differs from the installed one is rejected before any changes are made. |
-hostname | (preserved from the existing installation) | Overrides the server hostname. Use only when you want to change the hostname. |
-port | (preserved from the existing installation) | Overrides the HTTPS port. Use only when you want to change the port. |
-ssl-cert | (preserved from the existing installation) | The path to a replacement TLS certificate in PEM format. Must be provided together with -ssl-key. |
-ssl-key | (preserved from the existing installation) | The path to a replacement TLS private key in PEM format. Must be provided together with -ssl-cert. |
-ssl-skip-hostname-verification | false | Skips the check that the TLS certificate hostname matches -hostname. Use together with -ssl-cert and -ssl-key when you have a wildcard or internal CA certificate. |
migrate flags
The migrate subcommand is used to migrate a 2.0.x installation to a 3.0.x installation.
| Flag | Default | Description |
|---|---|---|
-source-root | (auto-detected) | The path to the old quay-install directory from the 2.0.x installation. |
-source-db | (auto-detected) | The path to the old quay_sqlite.db file. Supported for SQLite source only. Use when auto-detection fails. |
-source-storage | (auto-detected) | The path to the old image blob storage directory. Use when auto-detection fails. |
-source-certs | (auto-detected) | The path to the old TLS certificate directory (quay-config/). Use when auto-detection fails. |
-data-dir | /var/lib/quay | The target directory for the new 3.0 installation. |
-hostname | (auto-detected from the old configuration) | The server hostname for the new registry. Defaults to the hostname from the old installation. |
-image-archive | (auto-detected) | The path to the container image tar archive for the new installation. |
-dry-run | false | Shows the migration plan without making any changes. Supported for SQLite source only. |
-cleanup | false | Removes the old 2.0.x services, Podman volumes, and the Redis secret after a successful migration. Supported for SQLite source only. |
-skip-install | false | Copies data only and does not deploy the Quadlet service. Supported for SQLite source only. |
uninstall flags
The uninstall subcommand is used to uninstall the mirror registry.
| Flag | Default | Description |
|---|---|---|
-data-dir | /var/lib/quay | The data directory of the registry to uninstall. Must match the path used during installation. |
-auto-approve | false | Skips the confirmation prompt and deletes the data directory along with the registry. |
config validate flags
The config validate subcommand is used to validate the configuration file.
| Flag | Default | Description |
|---|---|---|
-config | (required) | The path to the config.yaml file or the configuration directory to validate. |
-mode | offline | The validation mode. Accepted values are offline and online. |
Mirror registry for Red Hat OpenShift release notes
The mirror registry for Red Hat OpenShift is a small and streamlined container registry that you can use as a target for mirroring the required container images of OpenShift Container Platform for disconnected installations.
These release notes track the development of the mirror registry for Red Hat OpenShift in OpenShift Container Platform.
Mirror registry for Red Hat OpenShift 3.0 release notes
See the mirror registry for Red Hat OpenShift 3.0 release notes for information about updates and changes.
Mirror registry for Red Hat OpenShift 3.0.0 (Technology Preview)
Issued: TBA September 2026
Mirror registry for Red Hat OpenShift 3.0 is now available with Red Hat Quay TBD.
The following advisory is available for the mirror registry for Red Hat OpenShift:
The following new features are available with mirror registry for Red Hat OpenShift 3.0:
- With this release, the mirror registry for Red Hat OpenShift is distributed as a single, self-contained Go binary (
mirror-registry) that requires no external dependencies beyond Podman. The Ansible-based installation tooling used in version 2.0.x has been removed. - With this release, the
mirror-registry installcommand performs fresh installations only. Runninginstallon a host where a registry is already installed exits with an error and points tomirror-registry upgrade. This prevents unintended reconfiguration of a running registry. - A new
mirror-registry upgradecommand has been added. Theupgradecommand replaces the container image of an existing installation in place while preserving the data directory, credentials, TLS certificates, hostname, and port. It exits with an error if no existing installation is found. - With this release, the registry runs as a Podman container managed by systemd using a Quadlet
.containerunit file (quay.service). The separatequay-app,quay-redis, andquay-podservices used in version 2.0.x have been replaced by this single unit. - With this release, the mirror registry for Red Hat OpenShift uses SQLite exclusively as its internal database for new installations. PostgreSQL is supported only as a migration source from version 2.0.x. The
quay-rediscontainer dependency has been removed. - A new
mirror-registry migratecommand has been added to migrate existing version 2.0.x installations to version 3.0. Both SQLite and PostgreSQL source databases are supported. The command auto-detects the existing installation and copies all data, certificates, and credentials to the new data directory. For PostgreSQL sources, the migration converts the database to SQLite before deploying the new registry. - With this release, the mirror registry for Red Hat OpenShift installs only on the local host. Remote host installation, which previously required SSH keys and the
--targetHostnameflag, is no longer supported. - With this release, repositories are created automatically on the first image push. Manual repository creation through the Red Hat Quay web console, which was required in version 2.0.x, is no longer necessary. The web console and Red Hat Quay UI have been removed from the mirror registry for Red Hat OpenShift; all management is performed through the CLI or the registry API.
- All registry data, including the SQLite database, TLS certificates, credentials, and image blob storage, is stored under a single configurable data directory (default:
/var/lib/quay). The separate Podman volumes (quay-storage,sqlite-storage) used in version 2.0.x are no longer used for new installations. - Root access is no longer required when uninstalling the mirror registry for Red Hat OpenShift.
Mirror registry for Red Hat OpenShift 2.0 release notes
See the mirror registry for Red Hat OpenShift 2.0 release notes for information about updates and changes.
To view the mirror registry for Red Hat OpenShift 2.0 release notes, see Mirror registry for Red Hat OpenShift 2.0 release notes.
Mirror registry for Red Hat OpenShift 1.3 release notes
See the mirror registry for Red Hat OpenShift 1.3 release notes for information about updates and changes.
To view the mirror registry for Red Hat OpenShift 1.3 release notes, see Mirror registry for Red Hat OpenShift 1.3 release notes.
Mirror registry for Red Hat OpenShift 1.2 release notes
See the mirror registry for Red Hat OpenShift 1.2 release notes for information about updates and changes.
To view the mirror registry for Red Hat OpenShift 1.2 release notes, see Mirror registry for Red Hat OpenShift 1.2 release notes.
Mirror registry for Red Hat OpenShift 1.1 release notes
See the mirror registry for Red Hat OpenShift 1.1 release notes for information about updates and changes.
To view the mirror registry for Red Hat OpenShift 1.1 release notes, see Mirror registry for Red Hat OpenShift 1.1 release notes.
Troubleshooting mirror registry for Red Hat OpenShift
To assist in troubleshooting the mirror registry for Red Hat OpenShift, you can check the status of the systemd service, view registry logs, and verify the registry health endpoint.
Prerequisites
- You have installed the mirror registry for Red Hat OpenShift.
Procedure
- Check the status of the
quay.servicesystemd service:- For a root installation, enter the following command:
$ systemctl status quay.service
- For a non-root installation, enter the following command:
$ systemctl --user status quay.service
- For a root installation, enter the following command:
- View the registry container logs by entering the following command:
$ podman logs systemd-quay
- Verify that the registry is healthy by querying the health endpoint:
$ curl -k https://<host_example_com>:8443/healthz
- If the registry is unresponsive or corrupted, you can reset it by uninstalling and reinstalling:
$ ./mirror-registry uninstall -data-dir /var/lib/quay -auto-approve$ ./mirror-registry install -data-dir /var/lib/quay -image-archive image-archive.tar
Additional resources