我尝试使用 Azure 门户创建容器 Web 应用程序,但无法应用“配置容器”边栏选项卡。无论我尝试选择什么图像源,容器按钮都会不断旋转并且不会返回:
以下是我在 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/