Closed kehao95 closed 6 years ago
May related to this issue magento2-sample-data/issues/12:[Cannot install sample-data]
composer config repositories.0 composer https://repo.magento.com
You can fix the first problem by running this: docker exec -it magento2_web_1 export COMPOSER_ALLOW_SUPERUSER=1 docker exec -it magento2_web_1 composer config repositories.0 composer / https://repo.magento.com But i still have an other issue with compose.
This is fixed in master
with 2.2.0
version by adding the Composer repository.
docker exec -it magento2_web_1 install-sampledata