perf-tools-docker-for-mac
This image contains both perf tools and bpftrace for Docker running on macOS
run it with the following command:
docker run --rm -it --privileged --pid=host -v /lib/modules:/lib/modules:ro haohaolee/perf-tools-docker-for-mac
Note: use this with caution because it reqires the root right of the host