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