Search code examples
azuredockerdocker-composeazure-container-instancesazure-files

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


is it possible to somehow mount volume from Azure File Share during the creation process of ACI instance within the Azure Portal directly in "Container Instances"? Or mount volume must be embedded within the image or referenced to container solely through the "az" commands?

Thank you


Solution

  • There is no place to set the mount volume if you create the ACI in the portal through the ACI resource directly. The only way, as I know, to create the ACI in the Azure portal is using the Azure template. Take a look at the steps that Create ACI via Template in the portal. And in the template, use the volume to set the mount volume.