You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: image/docs/containers-registries.conf.5.md
+40-19Lines changed: 40 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,46 @@ containers-registries.conf - Syntax of System Registry Configuration File
9
9
The CONTAINERS-REGISTRIES configuration file is a system-wide configuration
10
10
file for container image registries. The file format is TOML.
11
11
12
-
Container engines will use the `$HOME/.config/containers/registries.conf` if it exists, otherwise they will use `/etc/containers/registries.conf`
12
+
By default, the configuration is read from `$XDG_CONFIG_HOME/containers/registries.conf` (or from `$HOME/.config/containers/registries.conf` if `$XDG_CONFIG_HOME` is unset), if it exists; otherwise from `/etc/containers/registries.conf`; otherwise from `/usr/share/containers/registries.conf`. Applications may allow using a different configuration path instead.
13
+
14
+
If `CONTAINERS_REGISTRIES_CONF` is set, it specifies the configuration file to use,
15
+
unless overridden by application-specific configuration. If the environment variable
16
+
is set then the following drop-in directories will not be read.
17
+
18
+
In addition to registries.conf, drop-in files using the same format from the following directories are also read:
19
+
-`$XDG_CONFIG_HOME/containers/registries.conf.d` (or from `$HOME/.config/containers/registries.conf.d` if `$XDG_CONFIG_HOME` is unset)
20
+
-`/etc/containers/registries.conf.d`
21
+
-`/etc/containers/registries.rootful.conf.d` (only when running as uid 0)
22
+
-`/etc/containers/registries.rootless.conf.d` (only when running as uid > 0)
23
+
-`/etc/containers/registries.rootless.conf.d/$UID` (only when running as uid > 0)
24
+
-`/usr/share/containers/registries.rootful.conf.d` (only when running as uid 0)
25
+
-`/usr/share/containers/registries.rootless.conf.d` (only when running as uid > 0)
26
+
-`/usr/share/containers/registries.rootless.conf.d/$UID` (only when running as uid > 0)
27
+
28
+
The files must be using the `.conf` suffix, directories or files with other suffixes will be ignored.
29
+
All files from these paths will be first collected and then sorted in alpha-numerical order.
30
+
If the same filename is used twice then only the first match from the directory list above is
31
+
being used. Then the files will be parsed in the sorted order.
0 commit comments