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