0

因此,我使用 Buildah 构建了一个映像并将其推送到 ACR(天蓝色容器注册表),但是我尝试的任何方法,AZ cli、门户、terraform,部署到 ACI(天蓝色容器实例)的部署在 30 分钟后都会失败,原因是暂停。ACI创建成功,镜像可以从ACR成功推拉,镜像本地使用podman运行。ACI 在尝试从映像创建容器时挂起。

显示错误

Deployment to resource group '<my-resource-group>' failed.
Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details

原始错误

 {
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
  "details": [
    {
      "message": "Subscription deployment didn't reach a successful provisioning state after '00:30:00'."
    }
  ]
}

关于可能是什么问题的任何建议?

4

1 回答 1

0

决议


尽管文档声明 ACR 和 ACI 可以使用 OCI 图像,但 ACI 似乎仍然需要图像才能使用 docker 格式。使用 buildah 创建映像时,您需要使用 --format docker 标志 ->buildah bud --format docker以便从 ACR 中提取映像并部署到 ACI。

于 2021-11-17T18:15:14.850 回答