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 9066d5e commit af78548Copy full SHA for af78548
util/resolver/resolver.go
@@ -120,6 +120,9 @@ func NewRegistryConfig(m map[string]config.RegistryConfig) docker.RegistryHosts
120
mirrorHost := "localhost:8080"
121
return docker.Registries(
122
func(host string) ([]docker.RegistryHost, error) {
123
+ if ok, _ := docker.MatchLocalhost(host); ok {
124
+ return nil, nil
125
+ }
126
c, ok := m[host]
127
if !ok {
128
c = config.RegistryConfig{}
0 commit comments