Get the linux `ip` command line utility on docker

April 18, 2019

  • devops

Originally posted by me on Hashrocket TIL

Linux has a network utility called ip which can be very useful when debugging networking issues inside a docker machine.

If you type ip inside your docker container and you get “Command not found”, don’t fret.

On slim based machines simply run:

apt-get install iproute

Written by Dorian Karter, a Sr. Software Engineer
Github | Twitter

© 2021, Dorian Karter