[root@3b04d1d28796 /]# ping 172.18.0.2
PING 172.18.0.2 (172.18.0.2) 56(84) bytes of data.
64 bytes from 172.18.0.2: icmp_seq=1 ttl=62 time=0.575 ms
64 bytes from 172.18.0.2: icmp_seq=2 ttl=62 time=0.239 ms
64 bytes from 172.18.0.2: icmp_seq=3 ttl=62 time=0.233 ms
64 bytes from 172.18.0.2: icmp_seq=4 ttl=62 time=0.233 ms
64 bytes from 172.18.0.2: icmp_seq=5 ttl=62 time=0.342 ms
64 bytes from 172.18.0.2: icmp_seq=6 ttl=62 time=0.237 ms
64 bytes from 172.18.0.2: icmp_seq=7 ttl=62 time=0.214 ms
64 bytes from 172.18.0.2: icmp_seq=8 ttl=62 time=0.231 ms
64 bytes from 172.18.0.2: icmp_seq=9 ttl=62 time=0.244 ms
[root@docker128 ~]# tshark -f icmp
Running as user "root" and group "root". This could be dangerous.
Capturing on \'eth0\'
1 0.000000000 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x1753, seq=1/256, ttl=64
2 0.000103946 172.18.0.2 -> 10.0.0.130 ICMP 98 Echo (ping) reply id=0x1753, seq=1/256, ttl=63 (request in 1)
3 1.000691927 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x1753, seq=2/512, ttl=64
4 1.000746593 172.18.0.2 -> 10.0.0.130 ICMP 98 Echo (ping) reply id=0x1753, seq=2/512, ttl=63 (request in 3)
5 2.000378026 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x1753, seq=3/768, ttl=64
[root@docker128 ~]# tshark -i docker0 -f icmp
Running as user "root" and group "root". This could be dangerous.
Capturing on \'docker0\'
1 0.000000000 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x0019, seq=9/2304, ttl=62
2 0.000026941 172.18.0.2 -> 10.0.0.130 ICMP 98 Echo (ping) reply id=0x0019, seq=9/2304, ttl=64 (request in 1)
3 1.000678788 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x0019, seq=10/2560, ttl=62
4 1.000711113 172.18.0.2 -> 10.0.0.130 ICMP 98 Echo (ping) reply id=0x0019, seq=10/2560, ttl=64 (request in 3)
5 2.001349102 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x0019, seq=11/2816, ttl=62
6 2.001382828 172.18.0.2 -> 10.0.0.130 ICMP 98 Echo (ping) reply id=0x0019, seq=11/2816, ttl=64 (request in 5)
7 3.001029334 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x0019, seq=12/3072, ttl=62
8 3.001063332 172.18.0.2 -> 10.0.0.130 ICMP 98 Echo (ping) reply id=0x0019, seq=12/3072, ttl=64 (request in 7)
9 4.001703754 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x0019, seq=13/3328, ttl=62
10 4.001731139 172.18.0.2 -> 10.0.0.130 ICMP 98 Echo (ping) reply id=0x0019, seq=13/3328, ttl=64 (request in 9)
11 5.002387065 10.0.0.130 -> 172.18.0.2 ICMP 98 Echo (ping) request id=0x0019, seq