forked from TrueCloudLab/distribution
Allow private V2 registry endpoints
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
parent
751a1a8dd0
commit
6f36ce3a01
3 changed files with 22 additions and 14 deletions
|
@ -23,7 +23,7 @@ type Options struct {
|
|||
const (
|
||||
// Only used for user auth + account creation
|
||||
INDEXSERVER = "https://index.docker.io/v1/"
|
||||
REGISTRYSERVER = "https://registry-1.docker.io/v1/"
|
||||
REGISTRYSERVER = "https://registry-1.docker.io/v2/"
|
||||
INDEXNAME = "docker.io"
|
||||
|
||||
// INDEXSERVER = "https://registry-stage.hub.docker.com/v1/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue