registries updates

This commit is contained in:
do
2021-03-19 15:21:39 +01:00
parent a10b2ccd91
commit b32d02eb40
3 changed files with 10 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
# of these registries, it should be added at the end of the list.
#
# # An array of host[:port] registries to try when pulling an unqualified image, in order.
# unqualified-search-registries = ["example.com"]
unqualified-search-registries = ["dr-mirror.lan"]
#
[[registry]]
# # The "prefix" field is used to choose the relevant [[registry]] TOML table;
@@ -26,7 +26,7 @@
# # (taking into account namespace/repo/tag/digest separators) is used.
# #
# # If the prefix field is missing, it defaults to be the same as the "location" field.
prefix = "docker-registry.lan"
# prefix = "cr.lan"
#
# # If true, unencrypted HTTP as well as TLS connections with untrusted
# # certificates are allowed.
@@ -45,7 +45,7 @@ insecure = true
# # location = "internal-registry-for-example.net/bar"
# # requests for the image example.com/foo/myimage:latest will actually work with the
# # internal-registry-for-example.net/bar/myimage:latest image.
location = "docker-registry.lan"
location = "cr.lan"
#
# # (Possibly-partial) mirrors for the "prefix"-rooted namespace.
@@ -69,3 +69,5 @@ location = "docker-registry.lan"
# # 2. example-mirror-1.local/mirrors/foo/image:latest
# # 3. internal-registry-for-example.net/bar/image:latest
# # in order, and use the first one that exists.
[[registry.mirror]]
location = dr-mirror.lan