bpfman

(โ˜… 757)

An eBPF Manager for Linux and Kubernetes

Showing a partial file list โ€” download the zip above to see everything.

  • .dockerignore
  • .gitignore
  • .golangci.yml
  • .licenserc.yaml
  • .packit.sh
  • .packit.yml
  • .pre-commit-config.yaml
  • .taplo.toml
  • .yamllint.yaml
  • attach_kind.go
  • attach_spec.go
  • attach_spec_test.go
  • bpfman.spec
  • Cargo.lock
  • Cargo.toml
  • checkmake.ini
  • CODE_OF_CONDUCT.md
  • codecov.yml
  • CODEOWNERS
  • Containerfile.bpfman.local
  • Containerfile.bpfman.multi.arch
  • Containerfile.bpfman.openshift
  • Containerfile.bytecode
  • Containerfile.bytecode.multi.arch
  • CONTRIBUTING.md
  • Cross.toml
  • deny.toml
  • doc.go
  • Dockerfile.bpfman
  • Dockerfile.bpfman.dev
  • Dockerfile.bpfman.dev.dockerignore
  • Dockerfile.bpfman.dockerignore
  • Dockerfile.ci
  • Dockerfile.ci.dockerignore
  • Dockerfile.csi-sanity
  • Dockerfile.csi-sanity.dockerignore
  • errors.go
  • flake.lock
  • flake.nix
  • go.mod
  • go.sum
  • GOVERNANCE.md
  • image.go
  • image_test.go
  • LICENSE
  • LICENSE-APACHE
  • LICENSE-BSD2
  • LICENSE-GPL2
  • link.go
  • link_list_options_test.go
  • link_test.go
  • list_options_test.go
  • load_spec.go
  • MAINTAINERS.md
  • Makefile
  • MEETINGS.md
  • mkdocs.yml
  • netlify.toml
  • program.go
  • program_test.go
  • pyproject.toml
  • README.md
  • RELEASE.md
  • release.toml
  • REVIEWING.md
  • rustfmt.toml
  • SECURITY.md
  • tc_action.go
  • tc_action_test.go
  • tracepoint.go
  • tracepoint_test.go
  • uv.lock

# Installation Guide

1. Get the code
git clone https://github.com/bpfman/bpfman

Downloads the entire project code from GitHub to your computer.

cd bpfman

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f Dockerfile.bpfman -t bpfman .

Builds a runnable image based on the Dockerfile.

docker run -p 8080:80 bpfman

Runs the built image as an actual container.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install .

Installs the package published on PyPI directly โ€” no need to clone the source.

python <์‹คํ–‰ํ•  ํŒŒ์ผ๋ช…>.py # README์—์„œ ์ •ํ™•ํ•œ ์‹คํ–‰ ํŒŒ์ผ๋ช…์„ ํ™•์ธํ•˜์„ธ์š”

Runs the Python script (or module).

โœ… If it runs without errors and prints output in the terminal, it worked.

4. Go

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

โœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.

5. Rust

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
cargo build --release

Compiles the Rust project.

cargo run

Builds and then immediately runs the program.

โœ… If cargo build finishes without errors, it worked. The executable is created under target/.

6. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make

Compiles the code based on the generated build configuration to produce an executable.

โœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation