I have installed the 18.04 ubuntu docker image, and in it, I installed the following packages:
apt-get install traceroute
apt-get install net-tools
apt-get install iputils-ping
apt-get install netbase
But when I use traceroute, all packets beyond docker seem to be filtered:
#traceroute google.com
traceroute to google.com (172.217.16.206), 30 hops max, 60 byte packets
1 172.17.0.1 (172.17.0.1) 0.397 ms 0.309 ms 0.286 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
Is there a workaround to make it work? Note that in the windows host, tracert works.