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