Simulated Raspberry Pi node: real OpenSSH + Node-RED, reports aarch64/armv7l and Raspberry Pi OS.
2.8K
A simulated Raspberry Pi in a container: real OpenSSH and Node-RED, reports aarch64 / armv7l and Raspberry Pi OS, with simulated metrics, docker, systemctl and MQTT tools.
Usually run by the spawner, which spawns, scales and validates fleets of up to 20 nodes. Start there for a full fleet.
GitHub · Docs · MIT or Apache-2.0
| Tag | Platforms |
|---|---|
1.1.0, 1.1, 1, latest | linux/amd64, linux/arm64 |
Images carry OCI labels, SBOM and provenance attestations.
docker-compose.yml
services:
pi-node-1:
image: devprincekumar/pi-fleet-node:1.1.0
hostname: pi-node-1
restart: unless-stopped
ports:
- "127.0.0.1:3000:22" # SSH (localhost only)
- "127.0.0.1:4000:1880" # Node-RED
environment:
NODE_NAME: pi-node-1
SIM_ARCH: aarch64 # or armv7l
SIM_DEBIAN: bookworm # bullseye, buster
SIM_OS: "Raspberry Pi OS 64-bit bookworm"
NODE_PASSWORD: "change-me" # pi user login
volumes:
- pi-node-1-home:/home/pi # keeps Node-RED flows and files
pi-node-2:
image: devprincekumar/pi-fleet-node:1.1.0
hostname: pi-node-2
restart: unless-stopped
ports:
- "127.0.0.1:3001:22"
- "127.0.0.1:4001:1880"
environment:
NODE_NAME: pi-node-2
SIM_ARCH: armv7l
SIM_DEBIAN: bullseye
SIM_OS: "Raspberry Pi OS 32-bit bullseye"
NODE_PASSWORD: "change-me"
volumes:
- pi-node-2-home:/home/pi
volumes:
pi-node-1-home:
pi-node-2-home:
docker compose up -d
ssh pi@localhost -p 3000 # password: change-me
uname -m # aarch64
| SSH | Port 22, user pi (password from NODE_PASSWORD, default raspberry), passwordless sudo, unique host keys per container |
| Node-RED | 5.0 on Node.js 22, port 1880 |
| Reports | uname -m, platform.machine(), /etc/os-release |
| Metrics | /tmp/metrics/summary.txt, /tmp/fake_temp |
| Tools | mosquitto, stress-ng, jq, curl, simulated docker / systemctl |
Local test bed: keep ports on 127.0.0.1 unless the network is trusted, and set your own NODE_PASSWORD. Nodes report ARM but run on the host CPU.
Content type
Image
Digest
sha256:9056c189b…
Size
174.2 MB
Last updated
7 days ago
docker pull devprincekumar/pi-fleet-node