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