Skip to main content

Module config

Module config 

Source
Expand description

Zot config templating.

Ported from internal/registrycache/config.go.

Enums§

ConfigError
Errors from rendering a zot config.

Functions§

render_config
Builds a zot config JSON body from the given parameters. data_dir is where zot stores cached blobs/manifests; port is the listen port; upstreams is the list of registry hostnames to proxy (as they appear in image references – e.g. "docker.io", not the registry’s host URL).