Skip to content

Conversation

@83bytes
Copy link

@83bytes 83bytes commented Oct 22, 2025

This is needed otherwise the golang process is unable to make raw socket connections needed to ping

Ran into an issue where using the ping tool would error out with the following message

2025/10/22 10:42:37 [Recovery] 2025/10/22 - 10:42:37 panic recovered:
listen ip4:icmp 0.0.0.0: socket: operation not permitted

Figured that we needed to add the NET_RAW capability to the docker container (or the golang binary).

I can confirm that this work for my use-case.

This is needed otherwise the golang process is unable to make raw socket connections needed to ping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant