I am new to docker and devbox. I have setup DevBox Successfully and its working fine in a local system. I need information how to
- run CLI ie. php bin/magento cache:flush
- access phpmyadmin
My local setup details:
- Windows 10 Pro
- Magento Root files: D:\devbox\shared\webroot. I had created devbox in D drive.
- Docker version 17.03.0-ce, build 60ccb22
- local magento working at : http://127.0.0.1:32770/ and admin at: http://127.0.0.1:32770/admin/
Please comment if more information required.
Update: Command "docker ps -a" displayed container then I executed the clean command but it's not working. Please suggest what path I am missing here:
docker exec -t -i containername /bin/bash
thenls -la
. Your magento files probably based somewhere like/var/www/
docker exec -ti magento2devbox_web_302cced7f3c022680a96a06b1fe1bdbe php /var/www/webroot/bin/magento cache:clean
cd magento2
2.php bin/magento cache:clean