1

How can I run my Dusk test using Laravel and Docker?

The below solution works when I run migrations from the command line for my test application.

Docker + Laravel issue [SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution]

I have a .env.dusk with a separate database. when I run php artisian dusk I get the below error

php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

How can I get my migrations to work when running dusk?

Thank you

Matt
  • 383
  • 1
  • 5
  • 20

0 Answers0