Merge pull request #15417 from icecrime/update_windows_registry_endpoint
Update Windows TP3 registry endpoints
This commit is contained in:
commit
e3ebcaa76b
3 changed files with 14 additions and 8 deletions
|
@ -26,8 +26,6 @@ const (
|
||||||
// DefaultRegistryVersionHeader is the name of the default HTTP header
|
// DefaultRegistryVersionHeader is the name of the default HTTP header
|
||||||
// that carries Registry version info
|
// that carries Registry version info
|
||||||
DefaultRegistryVersionHeader = "Docker-Distribution-Api-Version"
|
DefaultRegistryVersionHeader = "Docker-Distribution-Api-Version"
|
||||||
// DefaultV1Registry is the URI of the default v1 registry
|
|
||||||
DefaultV1Registry = "https://index.docker.io"
|
|
||||||
|
|
||||||
// IndexServer is the v1 registry server used for user auth + account creation
|
// IndexServer is the v1 registry server used for user auth + account creation
|
||||||
IndexServer = DefaultV1Registry + "/v1/"
|
IndexServer = DefaultV1Registry + "/v1/"
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
package registry
|
package registry
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// DefaultV1Registry is the URI of the default v1 registry
|
||||||
|
DefaultV1Registry = "https://index.docker.io"
|
||||||
|
|
||||||
// DefaultV2Registry is the URI of the default v2 registry
|
// DefaultV2Registry is the URI of the default v2 registry
|
||||||
DefaultV2Registry = "https://registry-1.docker.io"
|
DefaultV2Registry = "https://registry-1.docker.io"
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,17 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DefaultV2Registry is the URI of the default (official) v2 registry.
|
const (
|
||||||
// This is the windows-specific endpoint.
|
// DefaultV1Registry is the URI of the default v1 registry
|
||||||
//
|
DefaultV1Registry = "https://registry-win-tp3.docker.io"
|
||||||
// Currently it is a TEMPORARY link that allows Microsoft to continue
|
|
||||||
// development of Docker Engine for Windows.
|
// DefaultV2Registry is the URI of the default (official) v2 registry.
|
||||||
const DefaultV2Registry = "https://ms-tp3.registry-1.docker.io"
|
// This is the windows-specific endpoint.
|
||||||
|
//
|
||||||
|
// Currently it is a TEMPORARY link that allows Microsoft to continue
|
||||||
|
// development of Docker Engine for Windows.
|
||||||
|
DefaultV2Registry = "https://registry-win-tp3.docker.io"
|
||||||
|
)
|
||||||
|
|
||||||
// CertsDir is the directory where certificates are stored
|
// CertsDir is the directory where certificates are stored
|
||||||
var CertsDir = os.Getenv("programdata") + `\docker\certs.d`
|
var CertsDir = os.Getenv("programdata") + `\docker\certs.d`
|
||||||
|
|
Loading…
Reference in a new issue