Azure 容器实例 - 如何通过 Azure 门户从 Azure 文件共享装载卷?

Azure Container Instances - how to mount volume from Azure File Share through the Azure Portal?

是否可以在 Azure 门户中直接在“容器实例”中创建 ACI 实例的过程中以某种方式从 Azure 文件共享挂载卷?或者挂载卷必须嵌入到映像中或仅通过“az”命令引用到容器?

谢谢

如果您直接通过ACI 资源在门户中创建ACI,则没有设置装载卷的地方。据我所知,在 Azure 门户中创建 ACI 的唯一方法是使用 Azure 模板。看看Create ACI via Template in the portal. And in the template, use the volume设置挂载卷的步骤。