microsoft / ethr

Ethr is a Comprehensive Network Measurement Tool for TCP, UDP & ICMP.
MIT License
5.78k stars 395 forks source link

ETHR does not work on Alphine #169

Open entr0pee opened 2 years ago

entr0pee commented 2 years ago

$ ./ethr -ash: ./ethr: not found

Is this because the MUSL LIBC?

How can I compile ethr on Alphine?

juyamagu commented 2 years ago

I can repro your issue with the following:

$ docker run --rm -it alpine:3.15
/ # wget https://github.com/microsoft/ethr/releases/download/v1.0.0/ethr_linux.zip &>/dev/null
/ # unzip ethr_linux.zip &>/dev/null
/ # ./ethr
/bin/sh: ./ethr: not found

Substituting the image with this worked for me, so I think your guess is right. You may be able to solve the issue by installing glibc by yourself.

https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc