Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试在 Azure 中为容器设置 WebApp 并选择指向另一个订阅中的 Azure 容器注册表的私有容器注册表,但 Web 应用程序尝试从中提取图像registry-1.docker.io而不是我的私有图像。谁能看到我错过了什么?
registry-1.docker.io
该问题是由图像名称引起的。您需要像yourACR.azurecr.io/image:tag使用私有注册表一样设置映像名称并指向 Azure 容器注册表。默认情况下,所有 docker 镜像都是从注册表docker.io中提取的。对于私有注册表,您必须在映像名称之前设置注册表名称。
yourACR.azurecr.io/image:tag
docker.io