[Doc]: New-AzContainerInstanceVolumeMountObject should be called before creating a ACI container group with New-AzContainerGroup to mount Azure File share #17123
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Container Instances
customer-reported
Doc - Reference
Description
https://docs.microsoft.com/en-us/powershell/module/az.containerinstance/new-azcontainergroup?view=azps-7.1.0#example-6--create-a-container-group-that-mounts-azure-file-volume
Cmdlet reference for New-AzContainerGroup shows how to create a container group that mounts Azure Files with below sequence.
However this sequence does not let a container mount Azure File volume.
New-AzContainerInstanceVolumeMountObject should be used in advance like below;
The text was updated successfully, but these errors were encountered: