I am using a windows based plan (Premium v3). Hosting a core asp.net app.
I need to map an Azure File share to a folder in the containers for interoperability.
I am facing the same issue mentioned in this thread of not being able to specify a windows format URIs like C:\sharedfolder\ when creating the mount via the azure portal or via Azure CLI. Both complain about the folder format.
I tried to do mapping via docker volumes but windows plans do not support docker compose. So I tried to specify A VOLUME within the dockerfile pointing to the folder in the container that I want to be mapped. Something like this:
VOLUME C:\sharedfolder\
But with no luck, the file in the Azure file share was not found by my code.
My base image is mcr.microsoft.com/windows/servercore:ltsc2019, I tried also image mcr.microsoft.com/dotnet/core/aspnet:3.1.
My questions:
2. Should I use a special image base?
3. IS this feature supported in windows containers.
Thank you