Error response from daemon: Get https://quay.io/v2/: unauthorized: access to the requested resource is not authorized

8.9k Views Asked by At

I am trying to pull images from quay.io using my credentials. I have Windows 10, Docker Desktop 2.2.0.5 installed on my machine.

I open my cmd and type: docker login quay.io

I supply my username and password and then I get below error:

Error response from daemon: Get https://quay.io/v2/: unauthorized: access to the requested resource is not authorized

I have already tried adding quay.io as insecure registry in .docker/daemon.json

{
  "registry-mirrors": [],
  "insecure-registries": ["quay.io:5000"],
  "debug": true,
  "experimental": false
}

It does not work. I am unable to pull images from quay.io.... I checked, I am able to pull public images from Dockerhub.

1

There are 1 best solutions below

0
On

You must enable Docker CLI Password in settings tab Then go to the menu ‍‍‍‍Generate Encrypted Password enter image description here