When i try to login to registry i have a 403 error on a VM in Google Cloud but the login works fine on my local machine.
The command is:
docker login registry.gitlab.com --username jtrejo
On my local machine:
Password:
WARNING! Your password will be stored unencrypted in /home/javier/.docker/config.json.
Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
On my VM on Google Cloud:
Password:
Error response from daemon: Get https://registry.gitlab.com/v2/: error parsing HTTP 403 response body: unexpected end of JSON input: ""