We are using docker4drupal with our sites for local development. The problem is that the sites only work in Chrome. Another user had the same issue here.
Here is output of cat /etc/hosts
inside my container:
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.0.5 d012518e289d
I was able to solve this by adding this to my host file:
127.0.0.1 mysite.docker.localhost
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With