d82e54
% registries.conf(5) System-wide registry configuration file
d82e54
% Brent Baude
d82e54
% Aug 2017
d82e54
d82e54
# NAME
d82e54
registries.conf - Syntax of System Registry Configuration File
d82e54
d82e54
# DESCRIPTION
d82e54
The REGISTRIES configuration file is a system-wide configuration file for container image
d82e54
registries. The file format is TOML.
d82e54
d82e54
# FORMAT
d82e54
The TOML_format is used to build simple list format for registries under two
d82e54
categories: `search` and `insecure`. You can list multiple registries using
d82e54
as a comma separated list.
d82e54
d82e54
Search registries are used when the caller of a container runtime does not fully specify the
d82e54
container image that they want to execute.  These registries are prepended onto the front
d82e54
 of the specified container image until the named image is found at a registry.
d82e54
d82e54
Insecure Registries.  By default container runtimes use TLS when retrieving images
d82e54
from a registry.  If the registry is not setup with TLS, then the container runtime
d82e54
will fail to pull images from the registry. If you add the registry to the list of
d82e54
insecure registries then the container runtime will attempt use standard web protocols to
d82e54
pull the image.  It also allows you to pull from a registry with self-signed certificates.
d82e54
Note insecure registries can be used for any registry, not just the
d82e54
registries listed under search.
d82e54
d82e54
The following example configuration defines two searchable registries and one
d82e54
insecure registry.
d82e54
d82e54
```
d82e54
[registries.search]
d82e54
registries = ["registry1.com", "registry2.com"]
d82e54
d82e54
[registries.insecure]
d82e54
registries = ["registry3.com"]
d82e54
```
d82e54
d82e54
# HISTORY
d82e54
Aug 2017, Originally compiled by Brent Baude <bbaude@redhat.com>