Open raoraafe opened 5 years ago
To access code add link to place in your pc by adding this to volume in web service.
volumes:
- ./folder_on_host:/var/www/html/folder_you_wana_reach_in_guest
Add as many links as you need. Also ./
means directory where your docker-compose.yml file is.
If u want data to be persistant (stay there after restart), ad to those volumes also:
- magento-data:/var/www/html
But it will have some permission problems after restart. Still figuring that out. I guess its to do with Magento.
For sample data, just delete everything and try again. For some reason it sometimes work and sometimes doesn't.
I have - magento-data:/var/www/html
mounted but the directory is empty.
I it give error before running docker exec it {container} install-magento
The error is the directory /var/www/html/bin/magento: No such file or directory
does not exist
If I don't have the volume, i cant do any modifications to my child theme or parent theme.
no guidelines on how to access code for noobs. sample data installed but is not populating and reflecting on m2.