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.
继续阅读
返回索引
eunomia-bpf:简化并增强eBPF,支持CO-RE[^1]和WebAssembly[^2]
  ![DeepSource](https://deepsource.io/gh/eunomia-bpf/eunomia-bpf/?ref=reposi
上一篇 / 上一页
ecli dockerfile usage
bpf 运行时需要有Linux内核相关支持,docker 中的内核共享的宿主机的内核,因此使用docker运行bpf程序时需要使用以下命令为容器赋予权限和相关内核支持。
下一篇 / 下一页
ecli server
ecli-server 和 ecli client 子命令已在 2026 年 3 月从主分支移除,以降低维护复杂度。
- 最后更新
- 2026年3月8日
- 首次发布
- 2023年8月10日
- 贡献者
- 云微, oluceps
这个页面有帮助吗?