Skip to content

Commit 3c8bfc8

Browse files
committed
docs(sim): add Docker port reference to pre-built packages page
Document all container port mappings (QGC, MAVSDK, uXRCE-DDS, MAVSim Viewer) with a quick-reference table. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
1 parent 6107e74 commit 3c8bfc8

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

docs/en/simulation/px4_sitl.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,25 @@ docker run --rm -it -p 14550:14550/udp \
9393
px4io/px4-sitl-sih:latest
9494
```
9595

96-
To expose additional ports (MAVSDK, uXRCE-DDS), add more `-p` flags or use `--network host` on Linux:
96+
The quick-start command above only exposes the QGroundControl port. To use MAVSDK, uXRCE-DDS (ROS 2), or MAVSim Viewer, expose the additional ports:
97+
98+
```bash
99+
docker run --rm -it \
100+
-p 14550:14550/udp \
101+
-p 14540:14540/udp \
102+
-p 8888:8888/udp \
103+
-p 19410:19410/udp \
104+
px4io/px4-sitl-sih:latest
105+
```
106+
107+
| Port | Protocol | Used by |
108+
|------|----------|---------|
109+
| 14550 | UDP | QGroundControl |
110+
| 14540 | UDP | MAVSDK / offboard API |
111+
| 8888 | UDP | uXRCE-DDS agent (ROS 2) |
112+
| 19410 | UDP | SIH display (MAVSim Viewer) |
113+
114+
On Linux you can skip individual port flags and use `--network host` instead:
97115

98116
```bash
99117
docker run --rm -it --network host px4io/px4-sitl-sih:latest

0 commit comments

Comments
 (0)