Azure / container-service-for-azure-china

Container Service for Azure China
MIT License
422 stars 71 forks source link

azk8s.cn registry response 403 Forbidden #59

Closed tairan closed 4 years ago

tairan commented 4 years ago

The registry mirror on azk8s.cn response 403 Forbidden

docker pull mcr.azk8s.cn/dotnet/core/sdk:3.1

Error response from daemon: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>403 Forbidden</h1></center>\r\n<hr><center>nginx/1.14.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"

set registry mirrors in /etc/docker/daemon.json also get 403 response

{
  "registry-mirrors": [
    "https://dockerhub.azk8s.cn"
  ]
}
andyzhangx commented 4 years ago

*.azk8s.cn is only allowed for Azure China IPs from now, sorry for the inconvenience.