docker exec --privileged no longer sets cap_sys_admin properly · Issue #32018 · moby/moby

We're running docker containers, and have sometimes wanted to run Linux perf (aka perf_events) from within a container for profiling (flame graphs). Since the perf_event_open syscall is blocked[1],...