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