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 27fd8d8 commit 7a03f8fCopy full SHA for 7a03f8f
util/resolver/resolver.go
@@ -125,6 +125,9 @@ func NewRegistryConfig(m map[string]config.RegistryConfig) docker.RegistryHosts
125
mirrorHost := "localhost:8080"
126
return docker.Registries(
127
func(host string) ([]docker.RegistryHost, error) {
128
+ if ok, _ := docker.MatchLocalhost(host); ok {
129
+ return nil, nil
130
+ }
131
c, ok := m[host]
132
if !ok {
133
c = config.RegistryConfig{}
0 commit comments