Try bpftrace in macOS How to Use Install Docker Desktop for Mac ./build.sh ./run.sh Enjoy! FAQ Why does it run on macOS? The Docker for mac runs Linux on a hypervisor called hyperkit, and docker runs inside it, so you can use Linux features. Can we trace host (macOS) with this? No. The bpftrace run in a Linux VM. For macOS, there is dtrace.