Open jameswilson opened 8 years ago
Let me know if it works by having a console environments yml file!
I don't think you would need console inside the container, but even if you did, it would only need a small patch to https://github.com/terra-ops/docker-drush to get added.
I removed the unrelated commit into a separate PR #124
So the console sites YML file doesn't work as I thought it would. And I'm not sure how to troubleshoot. One problem is i cant find a command to try to execute "remotely" because you have to be inside a drupal root in order to get access to a number of commands. But when you're inside a drupal root in your host machine filesystem thats being shared into a docker environment, and the settings.php file (or in my case settings.local.php file is modified to connect to a host called database
that only makes sense inside the context of the docker container... then all the drupal commands fail with the same PDO error.
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
This seems to be a fundamental Drupal console issue, OR I'm probably doing something wrong 😄 I'd appreciate some feedback or insight from @jmolivas if you can shed some light on this.
Work in progress PR for #122