esi-test-server-docker icon indicating copy to clipboard operation
esi-test-server-docker copied to clipboard

Add --remote-on-host configuration flag

Open webuniverseio opened this issue 6 years ago • 2 comments

Hi, Since primary purpose for ETS is to be used for development environments it would be nice to improve how to connect sites running on host with ETS. There is a way to modify hosts by using --add-host but you need to know what ip address will be assigned to host when container is running. For this purpose docker added docker.host.internal which you can ping to get host machine ip. I'm proposing to add --remote-on-host flag which will tell ETS to ping docker.host.internal, get host machine ip and add hostname to hosts file. For example:

docker run ets --remote-on-host=dev.site.com will add x.x.x.x dev.site.com to /etc/hosts where x.x.x.x will be an ip of host machine based on docker.host.internal. That will be a great enhancement for Windows and Mac users.

Thank you.

webuniverseio avatar Aug 01 '18 14:08 webuniverseio

Does anyone monitor these issues?

webuniverseio avatar Feb 04 '19 15:02 webuniverseio

Looks like we missed answering your question here, but we did see your question; it's been added to the enhancement backlog.

TedShuter avatar Feb 04 '19 18:02 TedShuter