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
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