aceberg / WatchYourLAN

Lightweight network IP scanner. Can be used to notify about new hosts and monitor host online/offline history
https://hub.docker.com/r/aceberg/watchyourlan
MIT License
3.85k stars 120 forks source link

Dont work on ARM (raspberrypi) #6

Closed barart closed 2 years ago

barart commented 2 years ago

Hello, my docker runs on a raspberrypi for my localnetwork, i tried to install it but i found that is not working on arm devices :(

aceberg commented 2 years ago

Hello, my docker runs on a raspberrypi for my localnetwork, i tried to install it but i found that is not working on arm devices :(

I do not own any arm devices to test it on, so, sorry, no arm support

barart commented 2 years ago

I can give you access to one arm device so you can test, i think that a lot of people will be interested on watchyourland and there are too many people that run their homelab like me on arm devices

bennyzen commented 2 years ago

Yes, it does.

Just clone this repo and build your image on an ARM device by doing something like:

docker build -t bennyzen/watchyourlan .

It's running flawlessly on my Pi.

aceberg commented 2 years ago

I am currently learning how to create Github Action to build for ARM. May be, you don't have to build the app yourself if that works)

aceberg commented 2 years ago

There are now images linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64 available under tag latest and v0.7.3 on DockerHub. Please send any feedback if it works or not

bennyzen commented 2 years ago

Confirmed. Just switched to your image for arm64 and it works. Thanks for your great work. Keep it going.

barart commented 2 years ago

I can confirm is working, thanks for this.. its very useful :D

bugbounce commented 1 year ago

For anyone trying to run this on a raspberrypi 3 , you will need an updated version of libseccomp2 from the buster-backports repo. @aceberg Please consider returning the full error at https://github.com/aceberg/WatchYourLAN/blob/303ab78fee014db694dcbf3acb6492e7d588b1d9/internal/scan/arpscan.go#L15

jamesmyatt commented 1 year ago

I assume that this isn't a problem on the latest stable OS (bullseye).