doc(buildkitd.toml.md): Add mirror configuration
Signed-off-by: Hans van den Bogert <hansbogert@gmail.com>master
parent
e89482149f
commit
cbafa22053
|
@ -90,11 +90,15 @@ insecure-entitlements = [ "network.host", "security.insecure" ]
|
||||||
|
|
||||||
# registry configures a new Docker register used for cache import or output.
|
# registry configures a new Docker register used for cache import or output.
|
||||||
[registry."docker.io"]
|
[registry."docker.io"]
|
||||||
mirrors = ["hub.docker.io"]
|
mirrors = ["yourmirror.local:5000"]
|
||||||
http = true
|
http = true
|
||||||
insecure = true
|
insecure = true
|
||||||
ca=["/etc/config/myca.pem"]
|
ca=["/etc/config/myca.pem"]
|
||||||
[[registry."docker.io".keypair]]
|
[[registry."docker.io".keypair]]
|
||||||
key="/etc/config/key.pem"
|
key="/etc/config/key.pem"
|
||||||
cert="/etc/config/cert.pem"
|
cert="/etc/config/cert.pem"
|
||||||
|
|
||||||
|
# optionally mirror configuration can be done by defining it as a registry.
|
||||||
|
[registry."yourmirror.local:5000"]
|
||||||
|
http = true
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue