1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
{
"distSpecVersion": "1.1.1",
"storage": {
"rootDirectory": "/var/lib/registry",
"gc": true,
"gcDelay": "1h",
"dedupe": true
},
"http": {
"address": "0.0.0.0",
"port": "5000",
"realm": "distroless-mirror",
"accessControl": {
"repositories": {
"**": {
"anonymousPolicy": [
"read"
]
}
}
}
},
"log": {
"level": "info",
"output": "/dev/stdout"
},
"extensions": {
"sync": {
"enable": true,
"downloadDir": "/var/lib/registry/.sync",
"registries": [
{
"urls": [
"https://gcr.io"
],
"tlsVerify": true,
"onDemand": true,
"manifestCheckInterval": "30m",
"maxRetries": 3,
"retryDelay": "5m",
"maxRetryDelay": "30m",
"content": [
{
"prefix": "distroless/static",
"tags": {
"regex": "^(latest|nonroot|debug|debug-nonroot)$"
},
"platforms": [
"linux/amd64",
"linux/arm64"
]
},
{
"prefix": "distroless/base",
"tags": {
"regex": "^(latest|nonroot|debug|debug-nonroot)$"
},
"platforms": [
"linux/amd64",
"linux/arm64"
]
},
{
"prefix": "distroless/cc",
"tags": {
"regex": "^(latest|nonroot|debug|debug-nonroot)$"
},
"platforms": [
"linux/amd64",
"linux/arm64"
]
},
{
"prefix": "distroless/python3",
"tags": {
"regex": "^(latest|nonroot|debug|debug-nonroot)$"
},
"platforms": [
"linux/amd64",
"linux/arm64"
]
}
]
}
]
}
}
}
|