clean-docker / Magento2

Docker Image to Magento 2 local development in Mac, Linux and Windows
https://hub.docker.com/r/rafaelcgstz/magento2/
MIT License
444 stars 251 forks source link

Composer Runtime Exception #67

Open epeets opened 6 years ago

epeets commented 6 years ago

When I run "install-magento2" composer throws the following error:

RuntimeException Could not delete ./:

Things I've tried so far:

  1. 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
  2. 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.

rafaelstz commented 6 years ago

Check if your folder is clear using the command ls -lha, we can't have files or folder hidden like .git for example.