Problem with insecure-registries

I’m pulling docker images from a private registry hosted on artifactory. I use the insecure-registries setting key to specify the URL of the registry to ensure the TLS verification is skipped.
My host machine has Windows OS.
While using the latest version of docker, it seems to be ignoring the insecure-registries setting.

Steps to reproduce the problem:

  1. Install docker using latest installer (4.34.3)
  2. Update the daemon.json to add the insecure-registries key and value.
  3. Restart Docker Desktop.
  4. Verify insecure-registries being reflected in the output of “docker info” command.5.
  5. docker login → Succeeds
  6. docker pull /user-service:latest → Command fails. The error mentions TLS verification error.

Workaround for me is:

  1. Install docker using older installer (4.31.1)
  2. Update the daemon.json to add the insecure-registries key and value.
  3. Restart Docker Desktop.
  4. Verify insecure-registries being reflected in the output of “docker info” command.
  5. Update to latest version from within the app. So we are now on 4.34.3
  6. docker login → Succeeds
  7. docker pull /user-service:latest → Succeeds
1 Like

I have the same issue, although due to Org policy I can’t downgrade to a lower version to fix it.

1 Like

i am face the same issue

close new features “Use containerd for pulling and storing images” will make insecure-registries work

1 Like

Same issue here, deselecting “Use containerd for pulling and storing images” indeed fixes it

it is tooooo long to fix it. fuuuuuuuuuck! does developer care mac users?

They won’t read this community forum probably, or if they do sometimes, finding this topic is not guaranteed. If someone opens an issue on GitHub, there is a better chance developers will see it. Maybe it was already reported. I haven’t checked: