
21 Aug
2020
21 Aug
'20
10:35 a.m.
On Fri, Aug 21, 2020 at 10:17:00AM +0800, Luan Shengde wrote:
On Fri, Aug 21, 2020 at 09:46:17AM +0800, Wu Fengguang wrote:
As of version 18.03, you can use host.docker.internal as the host's IP.
https://stackoverflow.com/questions/22944631/how-to-get-the-ip-address-of-th...
excelent! I will try it. It seems that we need to add line in /etc/hosts: host_id host.docker.internal
which /etc/hosts? I just tried debian docker, the DNS is not available: wfg@debian ~% ping host.docker.internal ping: host.docker.internal: Name or service not known Thanks, Fengguang