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