Azure-docs: Is it possible to mount a subdirectory of a fileshare?

Created on 1 Aug 2018  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

Is it possible to mount a subdirectory of a fileshare?
I supposed the command would look like this:

az container create \
    --resource-group $ACI_PERS_RESOURCE_GROUP \
    --name hellofiles \
    --image microsoft/aci-hellofiles \
    --dns-name-label aci-demo \
    --ports 80 \
    --azure-file-volume-account-name $ACI_PERS_STORAGE_ACCOUNT_NAME \
    --azure-file-volume-account-key $STORAGE_KEY \
    --azure-file-volume-share-name $ACI_PERS_SHARE_NAME/some_sub_directory \
    --azure-file-volume-mount-path /aci/logs/

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 container-instancesvc cxp resolved-by-customer triaged

Most helpful comment

Will you add this feature ?

All 5 comments

The answer is that it is not.

@nathanjsweet thanks for following up. If you have any other questions just let us know.

Will you add this feature ?

For anybody looking into this in the future, it is possible to do this: https://stackoverflow.com/questions/53599796/mount-azure-files-folder-into-kubernetes

@NickMSW that is only possible in AKS, not ACI (completely different systems).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments

jebeld17 picture jebeld17  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments