feat: add dockerhub and ghcr as pull through
This commit is contained in:
parent
9e930dfed5
commit
278d2b3150
1 changed files with 21 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue