Error AtlasError Documentation and Resolution

Docker received a malformed HTTP response from a registry

Error response from daemon: Get http://registry.example:5000/v2/: malformed HTTP response

Docker attempted to talk to a registry over plain HTTP while the registry expected HTTPS, producing a malformed HTTP response during the connection handshake.

malformed HTTP responseregistry
Error response from daemon: Get http://registry.example:5000/v2/: malformed HTTP response
  • server gave HTTP response to HTTPS client
  • Get https://registry.example:5000/v2/: malformed HTTP response
  • Docker is using HTTP for a registry endpoint that expects HTTPS.
  • Registry certificates are not configured correctly on the Docker host or Docker Desktop.
  • The registry host is configured inconsistently between secure and insecure settings.
  1. Verify whether the registry is supposed to use HTTPS and align Docker's registry configuration accordingly.
  2. Install or correct the CA and client certificate files used for the registry.
  3. Restart Docker Desktop or the Docker daemon after updating certificate or registry settings.
Docker Docs: Certificates not set up correctly
Docker malformed HTTP response from registry: causes and fixes | Error Atlas