wodby / docker4drupal

Docker-based Drupal stack
https://wodby.com/docker4drupal
MIT License
1.23k stars 533 forks source link

Drush Issue/Portainer #487

Open Edgecrusher2112 opened 3 years ago

Edgecrusher2112 commented 3 years ago

Hello there,

I'm new to Docker and trying out the container for Drupal.

I am finding that Drush isn't working for me, I'm getting this error when trying to do a simple drush cr

In Connection.php line 416: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known.

I notice portainer isn't installing now and have watched a video where they're just using Drush from the console in the Portainer page.

This is all new to me, so any help would be greatly appreciated.

mralexho commented 3 years ago

Hi @Edgecrusher2112,

Portainer was dropped in release https://github.com/wodby/docker4drupal/releases/tag/5.4.27. Can you provide any additional steps for your scenario? E.g., are you running vanilla vs mounted codebase? What does your Dockerfile look like?

cirrus3d commented 1 year ago

Hi @mralexho and thank you for the clarification. Documentation still says to use portainer. Do you know I can access the dashboard?

Edit: You have to install Docker Desktop and configure it. Then, all containers will be available in Docker Desktop (in my case Windows: Ubuntu 20.04 via WSL). You have to select "support for WSL2" when installing Docker Desktop.