Docker – Ubuntu – bash: ping: command not found

I’ve got a Docker container running Ubuntu which I did as follows:

docker run -it ubuntu /bin/bash

however it doesn’t seem to have ping. E.g.

bash: ping: command not found

Do I need to install that?

Seems a pretty basic command to be missing. I tried whereis ping which doesn’t report anything.

7 s
7

Leave a Comment