Mount azure file share in portainer stack


Is it possible to mount azure SMB 3 file shares in a container through the stack definition in portainer ?

Best Regards,


I have never tested this or seen it used. I would assume you need to mount the SMB share as a docker volume via a plugin such as cloudstor:azure and use that (note creation of volumes this way is not yet supported Portainer).

Also, the only reference I can find for using these such volumes in Portainer is this issue where they are used in a stack, and apparently this approach can break when it times out, which means you need to setup healthchecks to prevent breaking

Hope this helps