mirror of
https://github.com/openshift/image-registry.git
synced 2026-02-05 09:45:55 +01:00
This adds configuration and binary support for the generic registry. The container image now supports two registry modes: 1. **dockerregistry** (default): OpenShift-integrated registry with authentication, quotas, mirroring, and cluster integration. Uses /config.yml configuration. 2. **distribution**: Generic distribution/distribution registry for standalone use cases without OpenShift-specific features. Uses /etc/registry/config.yaml configuration. The generic registry configuration is sourced from: https://github.com/openshift/appliance/blob/master/registry/config.yml This provides flexibility to run the same container image either as an OpenShift-integrated registry or as a standalone generic registry depending on which binary and configuration are used. To use the generic registry: podman run -e REGISTRY_CONFIGURATION_PATH=/etc/registry/config.yaml <image> /usr/bin/distribution Assisted-by: Claude <noreply@anthropic.com>