quay/mirror-registry

Absence of `quayHostname` or `targetHostname` should default to local hostname

Closed this issue · 1 comments

When running mirror-registry without either the --quayHostname or --targetHostname parameter, it currently defaults to localhost. This is not useful for a registry that is supposed to be used by external clients for pulling images.

Instead the default should be to fallback to the output of hostname -f.

Created https://issues.redhat.com/browse/PROJQUAY-3079 to track and fix the issue. Should be a straightforward change.