Docker¶
The repository includes a multi-stage Dockerfile and a
docker-compose.yml for running the library, examples, and tests in a
self-contained environment.
Build the image¶
The image contains:
libdoppler.soinstalled to/usr/local/lib- C example binaries in
/app/ - Test binaries (
test_*) in/app/
Run the tests¶
Docker Compose — full streaming demo¶
docker-compose.yml wires up a transmitter, two receivers, and a spectrum
analyzer (plus a one-shot tests service under the test profile):
Foreground process
docker compose up runs in the foreground and streams all service
logs to the terminal. Use docker compose up -d to detach, then
docker compose logs -f to follow logs separately.
Services:
| Service | Description |
|---|---|
transmitter |
Generates and publishes IQ samples over ZMQ PUB (port 5555) |
receiver-1 |
Subscribes and prints signal stats |
receiver-2 |
Second subscriber (demonstrates PUB/SUB fan-out) |