When using Ubuntu’s docker image, several basic networking packages aren’t instaled:

  • ifconfig (found in net-tools package)
  • ip (found in iproute2 package)

To find what files are in a package:

dpkg-query -L packagename

or

dpkg-deb -c packagename.deb