A minimal, versioned, and multi-platform (amd64/arm64) Docker image for the BPF utility bpftool.
8.5K
This repository provides a convenient, versioned, and multi-platform Docker image for bpftool, the primary user-space control and introspection utility for eBPF programs and maps.
This image allows you to use bpftool on any system with Docker installed, without needing to compile it from source or manage system-wide dependencies. It is built using a multi-stage process to keep the final image size minimal.
linux/amd64 (x86-64) and linux/arm64 (aarch64), supporting a wide range of development environments from traditional servers to modern ARM-based machines like Apple Silicon Macs or AWS Graviton instances.bpftool source Git tags (e.g., v7.5.0), allowing you to pin to a specific version for stable and reproducible environments. The latest tag always points to the most recent stable version.ubuntu:22.04 base image and contains only the necessary runtime dependencies (libelf1, llvm), reducing the attack surface and image size.This image is built from the official bpftool source code available at the libbpf/bpftool GitHub repository using the Dockerfile within that repository.
If you encounter any issues or have feedback, please feel free to contact me. Your feedback is always welcome! [email protected]
docker pull gyutaeb/bpftool:latest