Running drush commands
Codebase New mounted codebase
Describe your issue I would like to know how to execute drush commands after running docker-compose up -d. I want to run drush si for site installation. I tried docker-compose exec php bash to access /var/www/html/, lunched drush si but can't reach mariadb instance. Any suggestions please? Thank you.
My bad, was specifying bad port.
Hi @nxut, I'm new to the world of docker deployment and I'd like to know how you managed to run your drush commands from the docker4drupal project?
In my experience, drush needed to be added as an additional composer dependency
composer require drush/drush