Closed avremel closed 6 years ago
Seems like your Composer folder is restricted, use these commands out of the Docker container, inside the folder created on your machine.
./stop && ./kill && sudo chmod -R 777 ~/.composer && rm -rf ./src && mkdir ./src && ./start && ./shell
So, you can run again install-magento2
.
Please let me know if it's working well!
Interesting... I am having the exact same issue on a different repo https://github.com/markoshust/magento-docker/issues/80
I have tried to change ownership of composer folder, but with no success... See here https://magento.stackexchange.com/questions/209680/file-permissions-magento-2/209689#209689
Try running these commands to remove and recreate the folders.
Out of the container:
sudo rm -rf ./var/composer_home ./composer.lock ./vendor
Inside the container:
mkdir /var/www/html/vendor/
composer install
I have followed instructions for a new Magento 2 project, here is are my errors: