A docker of learning eBPF at MacOS/Win.
Ubuntu: 21.04
Kernel: 5.10.76
cd ebpf-for-desktop/
docker build -t ebpf:v1 .
sh ./docker-run.sh
MacOS/Win is short of some linuxkit/header file, so I built this image based on for-desktop-kernel image and linux-kernel source code.
If could run ebpf programs, try to run /root/linuxkit-complier.sh
again.