Skip to content

bpfd Container Images

Container images for the bpfd and bpfctl binaries are automatically built and pushed to quay.io/bpfd whenever code is merged into the main branch of the github.com/bpfd-dev/bpfd repository under the :main tag.

Building the images locally

bpfd

docker build -f /packaging/container-deployment/Containerfile.bpfd . -t bpfd:local

bpfctl

docker build -f /packaging/container-deployment/Containerfile.bpfctl . -t bpfctl:local

Running locally in container

bpfd

sudo docker run --init --privileged --net=host -v /etc/bpfd/certs/:/etc/bpfd/certs/ -v /sys/fs/bpf:/sys/fs/bpf quay.io/bpfd/bpfd:main

bpfctl

sudo docker run --init --privileged --net=host -v /etc/bpfd/certs/:/etc/bpfd/certs/ quay.io/bpfd/bpfctl:main <COMMANDS>