mirror of
https://github.com/containers/skopeo.git
synced 2026-07-14 13:48:32 +00:00
When locating an image for pulling, inspection, or pushing, if we're given an image name that doesn't include a domain/registry, try building a set of candidate names using the configured registries as domains, and then pull/inspect/push using the first of those names that works. If a name that we're given corresponds to a prefix of the ID of a local image, skip completion and use the ID directly instead. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> Closes: #360 Approved by: rhatdan
26 lines
890 B
Plaintext
26 lines
890 B
Plaintext
# This is a system-wide configuration file used to
|
|
# keep track of registries for various container backends.
|
|
# It adheres to TOML format and does not support recursive
|
|
# lists of registries.
|
|
|
|
# The default location for this configuration file is /etc/containers/registries.conf.
|
|
|
|
# The only valid categories are: 'registries.search', 'registries.insecure',
|
|
# and 'registries.block'.
|
|
|
|
[registries.search]
|
|
registries = ['docker.io', 'registry.fedoraproject.org', 'registry.access.redhat.com']
|
|
|
|
# If you need to access insecure registries, add the registry's fully-qualified name.
|
|
# An insecure registry is one that does not have a valid SSL certificate or only does HTTP.
|
|
[registries.insecure]
|
|
registries = []
|
|
|
|
|
|
# If you need to block pull access from a registry, uncomment the section below
|
|
# and add the registries fully-qualified name.
|
|
#
|
|
# Docker only
|
|
[registries.block]
|
|
registries = []
|