-
Notifications
You must be signed in to change notification settings - Fork 11
Bug: Machine status ping not working inside docker container because of permission issue #12
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
Comments
I personally haven't run into this issue. Can you give some more details about your host, such as the output of For reference, sysctl -w net.ipv4.ping_group_range="0 2147483647" Let me know if this helps! I'll try to replicate this issue and find a solution. |
Absolutely, the Host machine is a Debian 12 VM running on a KVM-based Hypervisor. Architecture:
Your command actually helped fixing the issue. I did not expect that since I was assuming the I've added this command to my Thanks for the help! IMO this can be closed 😊 |
Glad this helped! I'll try to replicate this issue myself and play around with pro-bing and docker permissions to better understand what's happening. Thank you so much for taking the time to write this up and confirm the solution worked. I'll try to mention this in the known issues section. |
When using the docker image and setting up one or multiple hosts through the config file, I observed the machine status feature using ping does not work. It should be replicatable quite easily:
I have a simple config file with one machine:
Then I start the docker container using docker compose and get the following output:
$ docker compose up
This error message is logged every five seconds. The wol functionality still works, the Web App just shows an unknown status for the machine constantly so you can't verify if it's already been woken.
I've tried adding additional capabilities to the Container like
NET_RAW
or evenprivileged: true
which is a bad idea, but neither worked.Here is my full docker compose file (without said modifications):
The text was updated successfully, but these errors were encountered: