markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.6k stars 1.01k forks source link

always asking for authentication when installing #70

Closed Gujarats closed 7 years ago

Gujarats commented 7 years ago

I have created the file auth.json in ~/.comfposer/auth.json and give the appropriate public key and private key. But when running this command docker-compose run --rm setup :

Initializing setup...

    Authentication required (repo.magento.com):
      Username: 
      Password: 

I tried to insert my credential to login in magento2 like inserting the appropriate public-key & private-key manually it is working.

It should not asking for this right ? because I already save those credential in my ~/.composer/auth.json Any idea ?

Gujarats commented 7 years ago

This solved by copying the ~/.composer all files to the container.