Docker login error

Hi, I’m having trouble logging into a new Docker repository, I can’t access the repository using http protocol like http://SrvName:Port. I only log in if I try localhost instead of the hostname, for example docker login http://localhost. :8080. How can I change the server name in the settings so I can access it from any host on my network? Thanks for help.

The docker client rejects insecure connections, iirc it will refuse to login over http even if you configure it for an insecure registry.

Thanks for help. How can I log in? enable an SSL certificate? Or what do you recommend?

I believe if you want to be require logins you will need to setup SSL.