2019-08-27 20:02:41 +00:00
|
|
|
{{ ansible_managed | comment }}
|
2018-12-12 22:25:36 +00:00
|
|
|
# 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 = ['registry.access.redhat.com']
|
2020-08-19 14:17:08 +00:00
|
|
|
registries = [{{ dockerengine_secure_registries | xoxys.general.wrap | join(',') }}]
|
2018-12-12 22:25:36 +00:00
|
|
|
|
|
|
|
# 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]
|
2020-08-19 14:17:08 +00:00
|
|
|
registries = [{{ dockerengine_insecure_registries | xoxys.general.wrap | join(',') }}]
|
2018-12-12 22:25:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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]
|
2020-08-19 14:17:08 +00:00
|
|
|
registries = [{{ dockerengine_block_registries | xoxys.general.wrap | join(',') }}]
|