Docker - Ubuntu - bash: ping: command not found
@lebyy▲ 0 net votes
Problem: 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… Fix (from the top answer): Docker images are pretty minimal, but you can install ping in your official ubuntu docker image via: apt-get update -y apt-get install -y iputils-ping Chances are you don't need ping on your image, and just want to use it for testing purposes. Above example will help you out. But if you need ping to exist on your…