From cbafa22053052ba71b075c210406c6e9f73aa70d Mon Sep 17 00:00:00 2001 From: Hans van den Bogert Date: Fri, 10 Dec 2021 21:00:46 +0100 Subject: [PATCH] doc(buildkitd.toml.md): Add mirror configuration Signed-off-by: Hans van den Bogert --- docs/buildkitd.toml.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/buildkitd.toml.md b/docs/buildkitd.toml.md index 1a7bf9ad..d2c60339 100644 --- a/docs/buildkitd.toml.md +++ b/docs/buildkitd.toml.md @@ -90,11 +90,15 @@ insecure-entitlements = [ "network.host", "security.insecure" ] # registry configures a new Docker register used for cache import or output. [registry."docker.io"] - mirrors = ["hub.docker.io"] + mirrors = ["yourmirror.local:5000"] http = true insecure = true ca=["/etc/config/myca.pem"] [[registry."docker.io".keypair]] key="/etc/config/key.pem" cert="/etc/config/cert.pem" + +# optionally mirror configuration can be done by defining it as a registry. +[registry."yourmirror.local:5000"] + http = true ```