Azure / Azure/azure-cli

how to manage mount options of Azure File Volume for 'az container create'

Open
#17,136 4 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Container Instances Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**

I'd like to be able to manage mount options of Azure File Volume for 'az container create'.
Currently I have the following situation:
root@SandboxHost-637499546240241415:/# mount
\\.file.core.windows.net\ on /var/lib/pgpro/std-13/archivedir type cifs (rw,nosuid,nodev,relatime,vers=3.0,cache=strict,username=pgproassa,uid=0,noforceuid,gid=0,noforcegid,addr=20.150.75.40,file_mode=0777,dir_mode=0777,soft,persistenthandles,nounix,serverino,mapposix,noperm,rsize=1048576,wsize=1048576,bsize=1048576,echo_interval=60,actimeo=1)

**Describe the solution you'd like**

To have more options for this command in addition to existing ones:

--azure-file-volume-account-key : The storage account access key used to access the Azure File share.
--azure-file-volume-account-name : The name of the storage account that contains the Azure File share.
--azure-file-volume-mount-path : The path within the container where the azure file volume should be mounted. Must not contain colon ':'.
--azure-file-volume-share-name : The name of the Azure File share to be mounted as a volume.

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.