1
0
mirror of https://github.com/balkian/pingish synced 2025-07-13 06:42:22 +00:00
pingish/README.md
J. Fernando Sánchez 011f9e57ce First commit
2018-10-18 13:09:48 +02:00

15 lines
588 B
Markdown

Stupidly simple command line tool to resolve and ping hostnames.
I just use the binary to troubleshoot connectivity issues in scratch/alpine containers that don't have ping/dig/curl/wget.
Just copy the binary to the container, and problem solved.
The binary has to be built with `CGO_ENABLED=0` to avoid problems with alpine-based images.
# TROUBLESHOOTING
To run it as a normal user in ubuntu, you might need to configure your host first: `sudo sysctl -w net.ipv4.ping_group_range="0 2147483647"`
And/or set the capabilities of the binary: `sudo setcap cap_net_raw=ep pingish`