this is a ubuntu based compile of bcc
apt-get install -y linux-tools-$(uname-r) linux-headers-$(uname-r)
dnf install -y kernel-devel-$(uname-r)
docker run --privileged -it --rm -v /lib/modules:/lib/modules:ro -v /usr/src:/usr/src:ro -v /etc/localtime:/etc/localtime:ro -v /sys/kernel:/sys/kernel:ro perftool/bcc:latest bash