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