Net core application and I am trying to mount azure file share. Below is my docker-compose file.
version: "3.9"
services:
mountvolume:
container_name: mountvolume
build:
context: .
dockerfile: ./Dockerfile
ports:
- "8080:80"
volumes:
- myvol:/Files/
volumes:
myvol:
driver: azurefile
driver_opts:
accountname: mystorageaccount28628
accountkey: 2em0XONHCmgEE9m81Q/O0rTSGXf9giw==
share: "acishare"
remotepath: "aci/logs"
I have manually created FileShare named acishare in one of the storage account. I have given account name and key of the same storage account as above. I tried to docker-compose up and got below error
ERROR: Volume myvol specifies nonexistent driver azure file
Can someone help me to fix this error. Also in the above volume section I have fields share and remotepath so share means fileshare name but what is exactly remote path means? Can someone help me to figure it out. Any help would be appreciated. Thanks