From the course: Azure for DevOps: Containers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

ACI and data volumes

ACI and data volumes - Azure Tutorial

From the course: Azure for DevOps: Containers

Start my 1-month free trial

ACI and data volumes

- [Instructor] Azure Container Instances are stateless, meaning that the data does not persist, after the ACI application has been shut down. To store persistent state for an application hosted in Azure Container Instances, you must use external data sources. You can mount external volumes to local file system paths, within individual containers in a container group. Azure Container Instance offers native integration with Azure files, a fully managed SMB file share, as a service. Azure file share, can be mounted as a container instance volume, using both Azure CLI or YAML. In Azure CLI, you need to specify the storage account name and credentials, as az container create parameters. You will also need to specify the file system path, which sets your file share, will be displayed as for the container. To define the Azure files, as a volume in YAML, you need to define the volumes property, unpopulated with Azure file…

Contents