We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d685f27 commit 5b62060Copy full SHA for 5b62060
util/resolver/resolver.go
@@ -124,6 +124,9 @@ func NewRegistryConfig(m map[string]config.RegistryConfig) docker.RegistryHosts
124
mirrorHost := "localhost:8080"
125
return docker.Registries(
126
func(host string) ([]docker.RegistryHost, error) {
127
+ if ok, _ := docker.MatchLocalhost(host); ok {
128
+ return nil, nil
129
+ }
130
c, ok := m[host]
131
if !ok {
132
c = config.RegistryConfig{}
0 commit comments