feat: add dockerhub and ghcr as pull through

This commit is contained in:
Simon Cornet 2026-05-08 09:10:35 +02:00
commit 278d2b3150

View file

@ -1,7 +1,27 @@
{
"distSpecVersion": "1.1.1",
"storage": {
"rootDirectory": "/var/lib/zot"
"rootDirectory": "/var/lib/zot",
"subPaths": {
"/dockerhub": {
"rootDirectory": "/var/lib/zot/dockerhub",
"mirror": {
"registries": ["https://registry-1.docker.io"],
"remoteURL": "https://registry-1.docker.io",
"onDemand": true,
"tlsVerify": true
}
},
"/ghcr": {
"rootDirectory": "/var/lib/zot/ghcr",
"mirror": {
"registries": ["https://ghcr.io"],
"remoteURL": "https://ghcr.io",
"onDemand": true,
"tlsVerify": true
}
}
}
},
"http": {
"address": "127.0.0.1",