Merge pull request #6459 from dokku/registry-alias

Alias common registry names to docker.io
This commit is contained in:
Jose Diaz-Gonzalez
2024-01-18 22:11:28 -05:00
committed by GitHub

View File

@@ -31,6 +31,10 @@ func CommandLogin(server string, username string, password string, passwordStdin
return errors.New("Missing password argument")
}
if server == "hub.docker.com" || server == "docker.com" {
server = "docker.io"
}
command := []string{
common.DockerBin(),
"login",