ecli
ecli is the local eunomia-bpf CLI for loading, running, pulling, and pushing precompiled programs.
ecli is the local eunomia-bpf CLI for loading, running, pulling, and pushing precompiled programs.
The legacy remote HTTP mode (ecli client / ecli-server) has been removed from the main branch to reduce maintenance overhead. The last implementation is preserved on the archive/ecli-remote-http branch.
Usage
sudo ecli <COMMAND>Examples
Run the eBPF program as wasm or json.
# run with wasm bpf modules
sudo ecli run runqlat.wasm
# run with json bpf object only
sudo ecli run package.jsonOr run the eBPF program as a tar file that contains minimal BTF info and a BPF object.
sudo ecli run client.tarThe ecc packaged tar contains custom BTF files and package.json, which can be run on older kernels.
For details, see ecc-btfgen
Commands
- run - Run the ebpf program as tar or json.
- push - Push a container to an OCI registry.
- pull - Pull a container from an OCI registry.
Install
wget https://aka.pw/bpf-ecli -O ecli
chmod +x ./ecliGitHub Pages and URL examples
The historical GitHub Pages workflow is still kept for compatibility:
sudo ./ecli https://eunomia-bpf.github.io/eunomia-bpf/sigsnoop/package.json
sudo ./ecli run https://eunomia-bpf.github.io/eunomia-bpf/sigsnoop/app.wasmOCI examples
Pull an image locally:
./ecli pull ghcr.io/eunomia-bpf/execve:latestRun directly from the registry:
sudo ./ecli run ghcr.io/eunomia-bpf/execve:latestPush a Wasm module:
./ecli push --module app.wasm ghcr.io/yourorg/mytool:v1.0For historical notes about the removed remote mode, see ecli server.
Continue exploring
Back to index
eunomia-bpf Documentation
Simplify eBPF development with CO-RE and WebAssembly. Build, compile, and distribute eBPF programs easier with automatic code generation.
Previous
ecli dockerfile usage
bpf 运行时需要有Linux内核相关支持,docker 中的内核共享的宿主机的内核,因此使用docker运行bpf程序时需要使用以下命令为容器赋予权限和相关内核支持。
Next
ecli server
ecli-server and the ecli client subcommand were removed from the main branch in March 2026 to reduce maintenance overhead.
- Last updated
- Mar 8, 2026
- First published
- Aug 10, 2023
- Contributors
- 云微, oluceps
Was this page helpful?