【发布时间】:2020-08-09 15:49:26
【问题描述】:
我正在尝试使用我的凭据从 quay.io 提取图像。 我的机器上安装了 Windows 10、Docker Desktop 2.2.0.5。
我打开我的 cmd 并输入:
docker login quay.io
我提供了我的用户名和密码,然后出现以下错误:
Error response from daemon: Get https://quay.io/v2/: unauthorized: access to the requested resource is not authorized
我已经尝试在 .docker/daemon.json 中添加 quay.io 作为不安全的注册表
{
"registry-mirrors": [],
"insecure-registries": ["quay.io:5000"],
"debug": true,
"experimental": false
}
它不起作用。我无法从 quay.io 中提取图像...... 我检查了,我可以从 Dockerhub 中提取公共图像。
【问题讨论】:
-
一年后出现类似问题,在这种情况下不是授权而是超时。
标签: docker docker-desktop quay.io