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