azure - 无法为容器创建 Web 应用程序 - 资源 ID 长度太短 :

标签 azure docker azure-web-app-service

我尝试使用 Azure 门户创建容器 Web 应用程序,但无法应用“配置容器”边栏选项卡。无论我尝试选择什么图像源,容器按钮都会不断旋转并且不会返回:

enter image description here

以下是我在 Google Chrome 控制台中看到的错误:

main.9b48674960c2e585cd46.bundle.js:1 Error: resourceId length is too short: 
    at new e (main.9b48674960c2e585cd46.bundle.js:1)
    at e.validateContainerImage (functions.azure.com/ng-min/1.044a6c8d0435c0124e13.chunk.js:1)
    at e._validateContainerImage (functions.azure.com/ng-min/1.044a6c8d0435c0124e13.chunk.js:1)
    at e.applyContainerConfig (functions.azure.com/ng-min/1.044a6c8d0435c0124e13.chunk.js:1)
    at t.clickApply (functions.azure.com/ng-min/1.044a6c8d0435c0124e13.chunk.js:1)
    at Object.handleEvent (functions.azure.com/ng-min/1.044a6c8d0435c0124e13.chunk.js:1)
    at Object.handleEvent (main.9b48674960c2e585cd46.bundle.js:1)
    at Object.handleEvent (main.9b48674960c2e585cd46.bundle.js:1)
    at Jr (main.9b48674960c2e585cd46.bundle.js:1)
    at main.9b48674960c2e585cd46.bundle.js:1

自上周以来,我已经尝试了不同的浏览器并遇到了这个问题。有什么想法吗?

最佳答案

这是我从 MS 员工那里得到的信息:

With the recent change in the portal to new full screen create experience, the Web App for Containers portal creation entry point regressed.

For now the workaround is to instead click into the Web App create experience, and choose "Docker Image" (Linux or Windows) in the "Publish" option. The create wizard will then lead you to the image selection UX (click "Next: Docker" button at the bottom) where you can then choose the same options that were available before in the Web App for Containers experience.

We are also working on changing the Web App for Containers package to instead point to the new full screen web app create experience but with the selections already defaulted to "Docker Image".

所以我想除了提到的解决方法之外你真的无能为力

关于azure - 无法为容器创建 Web 应用程序 - 资源 ID 长度太短 :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57358676/

相关文章:

azure - 使用同一帐户 + Azure 应用程序网关的多个用户登录的 session 值更改

Eclipse Che 没有启动

c# - 查询参数中包含 %2B 的 ASP.net core 3.0 GET 方法在 Azure 上不起作用

azure - 增加 Azure API 管理中的请求超时

Azure 容器生成错误 '503' 原因 'site unavailable'

复制期间的 Azure Cosmos DB 限制

xml - Azure 网站上的尾部斜杠

c - 如何在 C 语言中使用 Docker Rest API 监控事件?

docker - Google Cloud Container:从Dockerfile创建Docker容器

azure - Azure 应用服务和容器 Web 应用之间的区别