You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.
# ping blah
ping: zm: No address associated with hostname
# hostname
blah
# cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth0@if199: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 5e:e0:ae:fa:53:a4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.16.28.12/24 brd 172.16.28.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::5ce0:aeff:fefa:53a4/64 scope link
valid_lft forever preferred_lft forever
/etc/hosts have no entry with IP address of the container so host blah returns nothing. This is causing various run-time issues in applications that can not find IP address of their own host.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
What did you do?
then inside container
/etc/hosts
have no entry with IP address of the container sohost blah
returns nothing. This is causing various run-time issues in applications that can not find IP address of their own host.The text was updated successfully, but these errors were encountered: