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

What is the root password? #49

Closed ManuelDeLanda closed 6 years ago

ManuelDeLanda commented 6 years ago

I installed this and got Magento2 up and going. Thank you.

I copied an app folder into the root directory because I am installing a plugin. For some reason teh shell and Magento are unable to read the contents of this folder.

I'm trying to troubleshoot the issue. I am trying to run this command: su -c "setenforce 0"

But I'm being prompted for the root password. What is the root password for this container? I've tried admin and root but no luck. Thank you

rafaelstz commented 6 years ago

Hi @beauzeph,

As you are locally, out of your container run these commands below:

sudo chmod -R 777 src/;
./stop && ./start && ./shell

Root

If you want to access the container using the root user you can use this command below:

./shell root

Please, let me know if it worked!