docker-registry-web
docker-registry-web copied to clipboard
server gave HTTP response to HTTPS client
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?