core@core-01 ~ $ sudo rkt enter af7a88d0 /bin/sh
/ # cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 buildroot
/ # uname -a
Linux postgres 4.6.4-coreos #1 SMP Thu Jul 14 20:36:35 UTC 2016 x86_64 GNU/Linux
/ # ping postgres
ping: bad address 'postgres'
/ # ping localhost -c 4
PING localhost (127.0.0.1): 56 data bytes
64 bytes from
127.0.0.1: seq=0 ttl=64 time=0.028 ms
64 bytes from
127.0.0.1: seq=1 ttl=64 time=0.038 ms
64 bytes from
127.0.0.1: seq=2 ttl=64 time=0.036 ms
64 bytes from
127.0.0.1: seq=3 ttl=64 time=0.034 ms
--- localhost ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.028/0.034/0.038 ms