DTR cache configuration referenceEstimated reading time: 1 minute
This topic applies to Docker Enterprise.
The Docker Enterprise platform business, including products, customers, and employees, has been acquired by Mirantis, inc., effective 13-November-2019. For more information on the acquisition and how it may affect you and your business, refer to the Docker Enterprise Customer FAQ.
DTR caches are based on Docker Registry, and use the same configuration file format. Learn more about the configuration options.
The DTR cache extends the Docker Registry configuration file format by
introducing a new middleware called
downstream that has three configuration
# Settings that you would include in a # Docker Registry configuration file followed by middleware: registry: - name: downstream options: blobttl: 24h upstreams: - <Externally-reachable address for upstream registry or content cache in format scheme://host:port> cas: - <Absolute path to next-hop upstream registry or content cache CA certificate in the container's filesystem>
Below you can find the description for each parameter, specific to DTR caches.
A positive integer and an optional unit of time suffix to determine the TTL (Time to Live) value for blobs in the cache. If
||no||An optional list of absolute paths to PEM-encoded CA certificates of upstream registries or content caches.|
||yes||A list of externally-reachable addresses for upstream registries of content caches. If more than one host is specified, it will pull from registries in round-robin order.|