Open electricmonk opened 5 years ago
It is a documented feature: https://docs.docker.com/docker-for-mac/networking/
You can use -config-override
option for gamma to make it talk to anything you want, including ganache in docker-compose without any /etc/hosts
tricks.
Gamma today talks to Ganache via
host.docker.internal
, an undocumented feature of Docker. This doesn't work well on Linux, forcing us to add this host to/etc/hosts
manually in ourdocker-compose
files.It would be better to solve this differently, allowing Gamma to take an environment variable and making the connections between Gamma and Ganache in a different manner.