diff --git a/distribution/registry.go b/distribution/registry.go index 651ae54249..11083cdd46 100644 --- a/distribution/registry.go +++ b/distribution/registry.go @@ -68,7 +68,6 @@ func NewV2Repository( direct := &net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, - DualStack: true, } // TODO(dmcgowan): Call close idle connections when complete, use keep alive diff --git a/registry/registry.go b/registry/registry.go index 55fc117c82..42f0f4dc9f 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -175,7 +175,6 @@ func NewTransport(tlsConfig *tls.Config) *http.Transport { direct := &net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, - DualStack: true, } base := &http.Transport{