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