Gitlab: Unauthorized: Basic http basic access denied

7/2/2021

I'm getting Error response from daemon https://registry.com unauthorized: HTTP Basic: Access denied on docker login registry.com:8443

I created a gitlab user and password in the gitlab registry and tried to do docker login from the K8s cluster. it is throwing the above error.

This is happening after upgrading the gitlab from 13.12.1 to 14.0.1.

I tried to reset the password from the gitlab UI and it didn't work for me.

Thanks

-- raki1205
docker
gitlab
kubernetes

1 Answer

7/7/2021

I logged to gitlab UI with the gitlab user i created . It prompted to reset the password. After resetting the password, the docker login registry.com:8443 command successfully logged in to the gitlab registry.

-- raki1205
Source: StackOverflow