85cf5c
% CONTAINERS-REGISTRIES.CONF.D(5)
85cf5c
% Valentin Rothberg
85cf5c
% Mar 2020
85cf5c
85cf5c
# NAME
85cf5c
containers-registries.conf.d - directory for drop-in registries.conf files
85cf5c
85cf5c
# DESCRIPTION
85cf5c
CONTAINERS-REGISTRIES.CONF.D is a system-wide directory for drop-in
85cf5c
configuration files in the `containers-registries.conf(5)` format.
85cf5c
85cf5c
By default, the directory is located at `/etc/containers/registries.conf.d`.
85cf5c
85cf5c
# CONFIGURATION PRECEDENCE
85cf5c
85cf5c
Once the main configuration at `/etc/containers/registries.conf` is loaded, the
85cf5c
files in `/etc/containers/registries.conf.d` are loaded in alpha-numerical
85cf5c
order. Then the conf files in `$HOME/.config/containers/registries.conf.d` are loaded in alpha-numerical order, if they exist. If the `$HOME/.config/containers/registries.conf` is loaded, only the conf files under `$HOME/.config/containers/registries.conf.d` are loaded in alpha-numerical order.
85cf5c
Specified fields in a conf file will overwrite any previous setting.  Note
85cf5c
that only files with the `.conf` prefix are loaded, other files and
85cf5c
sub-directories are ignored.
85cf5c
85cf5c
For instance, setting the `unqualified-search-registries` in
85cf5c
`/etc/containers/registries.conf.d/myregistries.conf` will overwrite previous
85cf5c
settings in `/etc/containers/registries.conf`.  The `[[registry]]` tables merged
85cf5c
by overwriting existing items if the prefixes are identical while new ones are
85cf5c
added.
85cf5c
85cf5c
All drop-in configuration files must be specified in the version 2 of the
85cf5c
`containers-registries.conf(5)` format.
85cf5c
85cf5c
# SEE ALSO
85cf5c
`containers-registries.conf(5)`
85cf5c
85cf5c
# HISTORY
85cf5c
85cf5c
Mar 2020, Originally compiled by Valentin Rothberg <rothberg@redhat.com>