add sample registries.conf to docs

Signed-off-by: Qi Wang <qiwan@redhat.com>

Closes: #1415
Approved by: rhatdan
This commit is contained in:
Qi Wang 2019-03-18 13:16:31 -04:00 committed by Atomic Bot
parent cfcfc46c8a
commit d0f8515470
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,26 @@
# This is a sample of system-wide configuration file used to
# keep track of registries for various container backends.
# It adheres to TOML format and does not support recursive
# lists of registries.
# The default location for this configuration file is /etc/containers/registries.conf.
# The only valid categories are: 'registries.search', 'registries.insecure',
# and 'registries.block'.
[registries.search]
registries = ['quay.io', 'docker.io']
# If you need to access insecure registries, add the registry's fully-qualified name.
# An insecure registry is one that does not have a valid SSL certificate or only does HTTP.
[registries.insecure]
registries = []
# If you need to block pull access from a registry, uncomment the section below
# and add the registries fully-qualified name.
#
# Docker only
[registries.block]
registries = []

View File

@ -289,7 +289,7 @@ sd
The following configuration files are required in order for Buildah to run appropriately. The
majority of these files are commonly contained in the `containers-common` package.
### [registries.conf](https://src.fedoraproject.org/rpms/skopeo/blob/master/f/registries.conf)
### [registries.conf](https://github.com/containers/buildah/blob/master/docs/samples/registries.conf)
#### Man Page: [registries.conf.5](https://github.com/containers/image/blob/master/docs/containers-registries.conf.5.md)