File: find-registry.conf

package info (click to toggle)
golang-github-containers-image 5.36.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,152 kB
  • sloc: sh: 267; makefile: 100
file content (62 lines) | stat: -rw-r--r-- 1,491 bytes parent folder | download | duplicates (5)
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
[[registry]]
location = "registry.com:5000"
prefix = "simple-prefix.com"

[[registry]]
location = "another-registry.com:5000"
prefix = "complex-prefix.com:4000/with/path"

[[registry]]
location = "registry.com:5000"
prefix = "another-registry.com"

[[registry]]
location = "no-prefix.com"

[[registry]]
location = "empty-prefix.com"
prefix = ""

[[registry]]
location = "subdomain-prefix.com"
prefix = "*.so.simple-prefix.com"

[[registry]]
location = "subdomain-prefix-2.com"
prefix = "*.simple-prefix.com"

# For subdomain override using dropin registries.conf.d/subdomain-override-1.conf
[[registry]]
location = "subdomain-prefix-1.com"
prefix = "*.not.quite.simple-prefix.com"

# For subdomain override failure using registries.conf.d/subdomain-override-2.conf
# with unmatched prefix = "*.example.com"
[[registry]]
location = "subdomain-prefix-2.com"
prefix = "*.docker.io"

# For subdomain override using dropin registries.conf.d/subdomain-override-3.conf
[[registry]]
location = "subdomain-prefix-3.com"
prefix = "*.bar.example.com"

# For longest wildcarded prefix match in comparison with "*.docker.io"
[[registry]]
location = "subdomain-prefix-4.com"
prefix = "*.bar.docker.io"

# For longest prefix match in comparison with *.bar.example.com
[[registry]]
location = "subdomain-prefix-5.com"
prefix = "foo.bar.example.com:5000"

# For empty location with wildcard prefix
[[registry]]
prefix="*.internal.registry.com"

[[registry]]
prefix="*.com"

[[registry]]
prefix="*.foobar.io"