Possible duplicate of [From inside of a Docker container, how do I connect to the localhost of the machine?](https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach)
– Kevin KopfJan 14 '18 at 12:20
it is what i was looking for but there is no secure solution, seems like opening network with host makes all hosts ports open to docker which is bad - how to solve it?, (not sure about following: )also bridge network makes docker's ports open to the world. there is no good solution.
– Shimon DoodkinJan 15 '18 at 01:58