Jun10ng / ebpf-docker-for-desktop

Build a docker at MacOS/Windows for eBPF learning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Build a docker at MacOS/Windows for eBPF learning.


Languages

Language:Shell 53.2%Language:Dockerfile 30.0%Language:Python 12.9%Language:C 3.9%