mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
ff31f2264d
Make sure that the value is only set if specified on the CLI. c/image already defaults to true but if set in the system context, we'd skip settings in the registries.conf. Fixes: #11933 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
24 lines
883 B
Plaintext
24 lines
883 B
Plaintext
# Note that changing the order here may break tests.
|
|
unqualified-search-registries = ['docker.io', 'quay.io', 'registry.fedoraproject.org']
|
|
|
|
[[registry]]
|
|
# In Nov. 2020, Docker rate-limits image pulling. To avoid hitting these
|
|
# limits while testing, always use the google mirror for qualified and
|
|
# unqualified `docker.io` images.
|
|
# Ref: https://cloud.google.com/container-registry/docs/pulling-cached-images
|
|
prefix="docker.io"
|
|
location="mirror.gcr.io"
|
|
|
|
# 2020-10-27 a number of images are not present in gcr.io, and podman
|
|
# barfs spectacularly when trying to fetch them. We've hand-copied
|
|
# those to quay, using skopeo copy --all ...
|
|
[[registry]]
|
|
prefix="docker.io/library"
|
|
location="quay.io/libpod"
|
|
|
|
# For testing #11933 to make sure that registries.conf is consulted unless
|
|
# --tls-verify is used during container creation.
|
|
[[registry]]
|
|
location="localhost:5000"
|
|
insecure=true
|