Open SamuelToh opened 4 years ago
In the church of Docker you're not supposed to talk to localhost
unless it's something inside your own container, so they never provided a host-name to refer to the "docker host". We also use widesky-editor
outside of Docker a hell of a lot, so this must be considered too.
There should probably be an option to tell the editor that the address 'localhost' is meant to be the host machine's localhost and not the container's.
Shell command
ip route show | awk '/default/ {print $3}'
can be used to find out the ip address for routing from the container to the machine.Maybe we can run that command and cut the ip address and substitute it with the specified 'localhost'.