docker-registry-web icon indicating copy to clipboard operation
docker-registry-web copied to clipboard

server gave HTTP response to HTTPS client

Open sorcerb opened this issue 1 year ago • 0 comments

Hello, I have Ubuntu server on my laptop. I try use examples: nginx-auth and nginx-auth-enabled nginx config was configured on Ubuntu, not in container, so I have Ubuntu with nginx + 2 docker containers with registry and web.

When I try to login to registry I got error:

Error response from daemon: Get "https://registry.example.com/v2/":
Get "https://registry.example.com:5001/api/auth?account=admin&client_id=docker&offline_token=true&service=localhost%3A5000":
http: server gave HTTP response to HTTPS client

I saw answers to add "insecure-registries" - but it didn't help to me, and I want use it secure.

Upd: Okey I change all protocols to http, now login is work, but I got

e07ee1baac5f: Layer already exists
invalid checksum digest format

when try push to empty repo. Any ideas?

sorcerb avatar May 04 '23 08:05 sorcerb