michaeljolley / michaeljolley.github.io

2 stars 2 forks source link

Comment by Divi on /posts/using-azure-file-storage-as-container-volume-mounts-in-app-services/ #190

Closed michaeljolley closed 4 years ago

michaeljolley commented 4 years ago

avatar:

Thanks for the article, just wanted to check don't we need to add declaration like following : ?

volumes: data:

because else docker-compose throws following error

Named volume "data:/var/www/html/logs/:rw" is used in service "web" but no declaration was found in the volumes section.

Secondly, Addition to following the article, I tried declaring the volumes, docker-compose build/push-ed. The logs folder I have inside docker container DO NOT got copied to my AzureFiles, instead I got a huge .img file

Please share some insight what is full process