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"
|