Azure FileShare - Mounting specific folder to Azure Multi-Container Web App

Panayiotis Alexandrou 11 Reputation points
2022-10-07T12:48:18.107+00:00

Hi all,

I am having troubles connecting a specific folder as a mount point on an Azure Multi-Container Web App, using Docker Compose.

Please see below for example images showing my configuration:

a) I have setup a Storage Account, as well as a FileShare:

Note that I have also created 4x folders there.

b) I setup an Azure Container App using a Docker-Compose File (Which also has SSH connectivity enabled)

c) I added a Path Mapping pointing to the /proxy location of the FileShare as shown:

d) I then added the example docker-compose file to startup the app:

e) I am then trying to enter the container using SSH to verify the volumes:

f) It looks like the volumes are created as expected, but when I drill into /app/test it shows all 4x folders at the root of the fileshare, instead of only the /proxy location.

Any idea why I am getting this behavior? Thank you in advance for your assistance.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,156 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,211 questions
{count} votes