0

我们在 Linode 上的 kubernetes 集群有问题!当我们从 eu.gcr.io 拉取图像时,我们得到这个错误:

Failed to pull image "eu.gcr.io/": rpc error: code = Unknown desc = Error response from daemon: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "\n<html lang="en">\n <meta />\n <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">\n <title>Error 403 (Forbidden)!!1</title>\n <style>\n <em>{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}</em> &gt; body{background:url(<a href="//www.google.com/images/errors/robot.png">//www.google.com/images/errors/robot.png</a>) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(<a href="//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png">//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png</a>) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(<a href="//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png">//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png</a>) no-repeat 0% 0%/100% 100%;-moz-border-image:url(<a href="//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png">//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png</a>) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(<a href="//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png">//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png</a>) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\n </style>\n \n 403. <ins> 
That?s an error.</ins>\n Your client does not have permission to get URL /v2/
    </html>/manifests/master from this server. <ins>That?s all we know.</ins>\n"

我可以使用相同的凭据(服务帐户访问密钥)从 GCR 中提取图像:

cat key.json | docker login -u _json_key --password-stdin https://eu.gcr.io

docker pull eu.gcr.io/folder/image_name:master

请帮忙!

4

0 回答 0