|
@@ -14,13 +14,16 @@ import (
|
|
|
"github.com/docker/docker/utils"
|
|
|
)
|
|
|
|
|
|
-// Where we store the config file
|
|
|
-const CONFIGFILE = ".dockercfg"
|
|
|
+const (
|
|
|
+ // Where we store the config file
|
|
|
+ CONFIGFILE = ".dockercfg"
|
|
|
|
|
|
-// Only used for user auth + account creation
|
|
|
-const INDEXSERVER = "https://index.docker.io/v1/"
|
|
|
+ // Only used for user auth + account creation
|
|
|
+ INDEXSERVER = "https://index.docker.io/v1/"
|
|
|
+ REGISTRYSERVER = "https://registry-1.docker.io/v1/"
|
|
|
|
|
|
-//const INDEXSERVER = "https://registry-stage.hub.docker.com/v1/"
|
|
|
+ // INDEXSERVER = "https://registry-stage.hub.docker.com/v1/"
|
|
|
+)
|
|
|
|
|
|
var (
|
|
|
ErrConfigFileMissing = errors.New("The Auth config file is missing")
|