Cannot use docker login on CLI anymore (Registry Access Management not available)

With Docker Version 4.11.0 (83626) I cannot peform docker login on CLI anymore. It gives me the following error:

Error response from daemon: “docker login” is unsupported when Registry Access Management is blocking access to Docker Hub.
The CLI “docker login” will not work in this configuration.

*** You must sign in via the Docker Desktop UI instead.*

Login failed.

It works with version 4.7.1 (77678).

I’m not even trying to login to Docker Hub, I’m trying to login to Azure.

I had a look into the adminstration account of our team on docker hub. The “Registry Access Management” area is not available to us as we have a Team plan, not Business plan.
So we cannot change anything there. Why does it still block something?

What is this? Is it a bug? Is it a feature? What can I do to get it working again?
Do I have to downgrade Docker to 4.7.1 (77678)?

Edit: Found a bug report:


Same issue here. Roll back to previous version seems to fix.


Me too. Did you find a fix for this problem?

Your answer is in the first post.

Exactly. I was running Docker Desktop with WSL2 and i switch back to 4.10 and logged perfectly. Thanks!