I guess something about your docker network config is blocking it… try doing this from docker run -it ubuntu /bin/bash
docker run -it ubuntu /bin/bash