diff options
| -rw-r--r-- | recipes-containers/container-host-config/container-host-config/registries.conf | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/recipes-containers/container-host-config/container-host-config/registries.conf b/recipes-containers/container-host-config/container-host-config/registries.conf index 926d8c36..cf6e0d49 100644 --- a/recipes-containers/container-host-config/container-host-config/registries.conf +++ b/recipes-containers/container-host-config/container-host-config/registries.conf | |||
| @@ -1,25 +1,10 @@ | |||
| 1 | # This is a system-wide configuration file used to | 1 | # System-wide container registry configuration (v2 format) |
| 2 | # keep track of registries for various container backends. | 2 | # See containers-registries.conf(5) for documentation. |
| 3 | # It adheres to TOML format and does not support recursive | ||
| 4 | # lists of registries. | ||
| 5 | 3 | ||
| 6 | # The default location for this configuration file is /etc/containers/registries.conf. | 4 | # Search registries for short names (e.g., "alpine" -> "docker.io/library/alpine") |
| 5 | unqualified-search-registries = ["docker.io", "quay.io"] | ||
| 7 | 6 | ||
| 8 | # The only valid categories are: 'registries.search', 'registries.insecure', | 7 | # Per-registry configuration |
| 9 | # and 'registries.block'. | 8 | # [[registry]] |
| 10 | 9 | # location = "registry.example.com" | |
| 11 | [registries.search] | 10 | # insecure = true |
| 12 | registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com'] | ||
| 13 | |||
| 14 | # If you need to access insecure registries, add the registry's fully-qualified name. | ||
| 15 | # An insecure registry is one that does not have a valid SSL certificate or only does HTTP. | ||
| 16 | [registries.insecure] | ||
| 17 | registries = [] | ||
| 18 | |||
| 19 | |||
| 20 | # If you need to block pull access from a registry, uncomment the section below | ||
| 21 | # and add the registries fully-qualified name. | ||
| 22 | # | ||
| 23 | # Docker only | ||
| 24 | [registries.block] | ||
| 25 | registries = [] | ||
