Insecure registry on docker

Hi all,

I’m having an issue with Docker ignoring the insecure-registries setting in /etc/docker/daemon.json.

I have both the IP and the DNS name of my private registry listed in insecure-registries, but when I try to pull an image, I get this error:

Error response from daemon: failed to resolve reference "my-registry/x86-base:latest": failed to do request: Head "https://my-registry/v2/x86-base/manifests/latest": remote error: tls: unrecognized name

I’ve already:

  • Run docker login successfully
  • Restarted the Docker daemon (systemctl restart docker)
  • Verified that docker info shows the registry under Insecure Registries

Docker version: 29.2.0, build 0b9d198

Has anyone experienced this? How can I make Docker actually use HTTP for my private registry?

I solved the problem, basically revert the docker version to :Docker version 27.3.1, build ce12230

It will work!!