-
-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/bin/ping does not work without --cap-add=NET_RAW
(podman on RPi)
#580
Labels
Comments
Humm... I can't recreate your original issue, also on my RPI 5 running a recent RPI Image
|
I wonder if this a podman vs docker problem. I'll see if I can test |
I used the same hardware setup and used docker instead of podman. It does appear to be a podman specific issue. pi@raspberrypi:~ $ docker --version
Docker version 27.4.1, build b9d17ea
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
pi@raspberrypi:~ $ docker run --rm --network=host --entrypoint "/bin/sh" docker.io/homebridge/homebridge:2024-12-19 -c "ping -c 1 8.8.8.8"
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=58.2 ms
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 58.160/58.160/58.160/0.000 ms |
Okay, will close this and the PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe The Bug
Environment is:
Compare the following commands:
Some homebridge plugins such as
kiwi-cam/homebridge-broadlink-rm-pro
rely on thenode-ping
library which in turn relies on CLI ping.I suggest updating the documented
docker run
command to include--cap-add=NET_RAW
Docker Config
podman run --rm --network=host --entrypoint "/bin/sh" docker.io/homebridge/homebridge:2024-12-19 -c "ping -c 1 8.8.8.8"
Logs
No response
Host Operating System
Raspberry Pi OS - Latest
Host Architecture
aarch64 / arm64
The text was updated successfully, but these errors were encountered: