diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d414c0ce3fe..0947c06dd100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,11 @@ Main (unreleased) - Upgrade `github.com/goccy/go-json` to v0.10.4, which reduces the memory consumption of an Agent instance by 20MB. If Agent is running certain otelcol components, this reduction will not apply. (@ptodev) + +### Other changes + +- Remove setcap for `cap_net_bind_service` to allow Agent to run in restricted environments. + Modern container runtimes allow binding to unprivileged ports as non-root. (@ptodev) v0.43.4 (2024-11-25) ----------------- diff --git a/cmd/grafana-agent/Dockerfile b/cmd/grafana-agent/Dockerfile index 558f3f96629b..fad889abab9f 100644 --- a/cmd/grafana-agent/Dockerfile +++ b/cmd/grafana-agent/Dockerfile @@ -41,7 +41,7 @@ LABEL org.opencontainers.image.source="https://github.com/grafana/agent" # Install dependencies needed at runtime. RUN <