Browse code

Update Windows TP3 registry endpoints

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>

Arnaud Porterie authored on 2015/08/08 06:01:34
Showing 3 changed files
... ...
@@ -26,8 +26,6 @@ const (
26 26
 	// DefaultRegistryVersionHeader is the name of the default HTTP header
27 27
 	// that carries Registry version info
28 28
 	DefaultRegistryVersionHeader = "Docker-Distribution-Api-Version"
29
-	// DefaultV1Registry is the URI of the default v1 registry
30
-	DefaultV1Registry = "https://index.docker.io"
31 29
 
32 30
 	// IndexServer is the v1 registry server used for user auth + account creation
33 31
 	IndexServer = DefaultV1Registry + "/v1/"
... ...
@@ -3,6 +3,9 @@
3 3
 package registry
4 4
 
5 5
 const (
6
+	// DefaultV1Registry is the URI of the default v1 registry
7
+	DefaultV1Registry = "https://index.docker.io"
8
+
6 9
 	// DefaultV2Registry is the URI of the default v2 registry
7 10
 	DefaultV2Registry = "https://registry-1.docker.io"
8 11
 
... ...
@@ -6,12 +6,17 @@ import (
6 6
 	"strings"
7 7
 )
8 8
 
9
-// DefaultV2Registry is the URI of the default (official) v2 registry.
10
-// This is the windows-specific endpoint.
11
-//
12
-// Currently it is a TEMPORARY link that allows Microsoft to continue
13
-// development of Docker Engine for Windows.
14
-const DefaultV2Registry = "https://ms-tp3.registry-1.docker.io"
9
+const (
10
+	// DefaultV1Registry is the URI of the default v1 registry
11
+	DefaultV1Registry = "https://registry-win-tp3.docker.io"
12
+
13
+	// DefaultV2Registry is the URI of the default (official) v2 registry.
14
+	// This is the windows-specific endpoint.
15
+	//
16
+	// Currently it is a TEMPORARY link that allows Microsoft to continue
17
+	// development of Docker Engine for Windows.
18
+	DefaultV2Registry = "https://registry-win-tp3.docker.io"
19
+)
15 20
 
16 21
 // CertsDir is the directory where certificates are stored
17 22
 var CertsDir = os.Getenv("programdata") + `\docker\certs.d`