services:
teto-dpdk:
build: .
# Build/run as x86_64. F-Stack is developed and CI-tested on x86_64; its
# arm64 path is under-maintained (missing libkern fls.c resolution). On
# Apple Silicon this runs under QEMU emulation.
platform: linux/amd64
volumes:
- .:/app
# F-Stack and DPDK need high privileges to map memory, interact with network devices, and bypass kernel
privileged: true
#network_mode: "host"
cap_add:
- NET_ADMIN
- SYS_RAWIO
- IPC_LOCK
# When testing locally with hugepages enabled on the host, you can uncomment this:
# volumes:
# - /dev/hugepages:/dev/hugepages
command: tail -f /dev/null