Magento2
Magento2 copied to clipboard
Composer Runtime Exception
When I run "install-magento2" composer throws the following error:
RuntimeException Could not delete ./:
Things I've tried so far:
- changing ownership and permission on html folder but I learned that the way docker does volumes makes these commands not work as expected in the container shell
- Almighty Google
I'm still a noob to docker so I would appreciate any help or advise to get this working. I would like to use Docker as Magento dev environment for home and work if possible. I'm pretty sure I can just git clone the Magento 2 repo or something like that but I would just like to know how to actually fix this issue when it arises.
Check if your folder is clear using the command ls -lha
, we can't have files or folder hidden like .git
for example.