Docker Community Forums

Share and learn in the Docker community.

How do I specify which folder to mount Azure File Storage

azure

(Asad Memon) #1

Expected behavior

I am running the container on Azure with cloudstor plugin using following command:

docker run -it \
--mount type=volume,volume-driver=cloudstor:azure,target=/data,volume-opt=share=myShare \
ubuntu bash

I am trying to mount Azure File Storage. Can I specify which folder to mount. I am trying to allocated a new folder to each container inside the same fileshare (like myShare/container1).

Is this possible?
Thanks