Communication control of the container runtime environment(now only docker) is performed using eBPF.
- Install a rust stable toolchain:
rustup install stable
- Install a rust nightly toolchain:
rustup install nightly
- Install LLVM
- Install bpf-linker:
cargo install bpf-linker
- Install bpftool:
sudo apt install linux-tools-generic
- Install bindgen-cli:
cargo install bindgen-cli
cargo xtask aya-gen
cargo xtask build-ebpf
To perform a release build you can use the --release
flag.
You may also change the target architecture with the --target
flag
cargo build
cargo xtask run -- example/nginx.yaml --log-level=info