Spins up rustbgpd (AS 65001) peered with FRR (AS 65002) over a shared bridge network. FRR advertises 4 IPv4 and 3 IPv6 sample prefixes.
docker compose up -dFirst run builds the rustbgpd image (~60s). Sessions establish within seconds.
# Inside the container
docker compose exec rustbgpd rustbgpctl -s http://127.0.0.1:50051 neighbor
docker compose exec rustbgpd rustbgpctl -s http://127.0.0.1:50051 rib
docker compose exec rustbgpd rustbgpctl -s http://127.0.0.1:50051 top
# From the host (gRPC is forwarded to localhost:50051)
cargo run -p rustbgpctl -- -s http://127.0.0.1:50051 neighbor
cargo run -p rustbgpctl -- -s http://127.0.0.1:50051 topdocker compose down