Chapter 8. Mirroring images with Red Hat Quay


With repository mirroring in Red Hat Quay, you can copy images from an external registry into your cluster. You sync by repository or organization name and tag, set intervals, and filter architectures.

From your Red Hat Quay cluster with mirroring enabled, you can perform the following actions:

  • Choose a repository or organization from an external registry to mirror
  • Add credentials to access the external registry
  • Identify specific container image repository or organization names and tags to sync
  • Set intervals at which a repository or organization is synced
  • Check the current state of synchronization
  • Filter the architectures that are mirrored

To use repository mirroring, complete the following actions:

  • Enable mirroring in the Red Hat Quay configuration file
  • Run a mirroring worker
  • Create mirrored repositories

You can configure mirroring by editing the Red Hat Quay configuration file or by using the Red Hat Quay API.

8.1. Verifying authentication and permissions

To verify authentication and permissions for Red Hat Quay repository mirroring and resolve mirroring issues, you can ensure credentials have the necessary access on source and destination instances.

On the Red Hat Quay UI, check the following settings:

  • The access control settings. Ensure that the user or service account performing the mirroring operation has the required privileges.
  • The permissions of your robot account on the Red Hat Quay registry.

8.2. Clair security scanner

Clair is a vulnerability scanner that analyzes container image layers and reports security issues from upstream CVE databases in Red Hat Quay. You can use these reports to identify vulnerabilities that affect image content.

8.2.1. Troubleshooting Clair issue

To troubleshoot Clair vulnerability scanning in Red Hat Quay and resolve scan issues, you can verify image compatibility, allowlist Clair updaters when using a proxy, check the Clair config.yaml, and inspect image metadata.

8.2.1.1. Verifying image compatibility

If you are using Clair, ensure that Clair supports the images you are trying to scan. Clair has certain requirements and does not support all image formats or configurations.

8.2.1.2. Allowlisting Clair updaters

If you are using Clair behind a proxy configuration, you must allowlist the updaters in your proxy or firewall configuration.

8.2.1.3. Checking Clair configuration

Check your Clair config.yaml file to ensure that no misconfigurations or inconsistencies could lead to issues.

8.2.1.4. Inspect image metadata

In some cases, you might receive an Unsupported message. This might indicate that the scanner is unable to extract the necessary metadata from the image. Check if the image metadata is properly formatted and accessible.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top