danielzzz / node-ping

a poor man's ping library (using udp scanning) for node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work with busybox

NathanielHill opened this issue · comments

Just for the record, this doesn't seem to work with the output from busybox's ping, which is quite common in Docker setups these days with so many alpine images.

For anyone coming across this trying to get this working on your alpine Docker image, try:

RUN apk add iputils

Update the README to include your solution. THanks

It is interesting though. ping command is workable in alpine shell.