Skip to content

Run libxdp/libbpf based application inside privileged docker container.

Notifications You must be signed in to change notification settings

ricmli/xdp-tools-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

xdp-tools-docker

Run libxdp/libbpf based application inside privileged docker container.

Build:

docker build -t xdp-tools:latest .

Run:

docker run --rm -it --net=host --privileged -v /sys/fs/bpf:/sys/fs/bpf xdp-tools:latest bash

xdp-loader status

Pull the image from Github and run:

# docker pull ghcr.io/ricmli/xdp-tools-docker:main
docker run --rm -it --net=host --privileged -v /sys/fs/bpf:/sys/fs/bpf ghcr.io/ricmli/xdp-tools-docker:main bash
# xdp-loader status
# xdpdump -i ens785f0 --load-xdp-program

About

Run libxdp/libbpf based application inside privileged docker container.

Resources

Stars

Watchers

Forks

Releases

No releases published