Jun10ng / ebpf-docker-for-desktop

Build a docker at MacOS/Windows for eBPF learning.
36 stars 16 forks source link

What

A docker of learning eBPF at MacOS/Win.

Ubuntu: 21.04

Kernel: 5.10.76

Run it!

cd ebpf-for-desktop/
docker build -t ebpf:v1 .
sh ./docker-run.sh

How

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.

FAQ

If could run ebpf programs, try to run /root/linuxkit-complier.sh again.