I was following [this guide] to set up CI/CD in GitLab for a laravel installation
I came to the point where it says to login to docker with the command :sudo docker login [my Gitlab CE IP]:5050
My Gitlab is a self hosted GitLab CE v15.7 instace, hosted on Amazon AWS in a lightsail instace.
Container registry is enabled in gitlab and everything else is set up correctly according to the guide.
In the Container Registry
page you can also see that it’s active for the project and the commands which should be used. Obviously I’m stuck at the docker login ....
command:
When I run the command : sudo docker login x.xx.xxx.xxx:5050
from my local machine, I’m asked for username and password which I enter and then I get this error:
Error response from daemon: Get "https://x.xx.xxx.xxx:5050/v2/": x509: cannot validate certificate for x.xx.xxx.xxx because it doesn't contain any IP SANs
I have searched everywhere but nothing seems to help and I don’t know how to solve this.
would appreciate any help since it’s taking 2 days and I’m giving up on life.