Skip to content

Commit

Permalink
docker: Fix page building
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Feb 14, 2020
1 parent 32cdf28 commit 94bee64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion en/test_and_ci/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,10 @@ When running a simulation instance e.g. SITL inside the docker container and con
In *QGroundControl*, navigate to [Settings](https://docs.qgroundcontrol.com/en/SettingsView/SettingsView.html) and select Comm Links. Create a new link that uses the UDP protocol. The port depends on the used [configuration](https://github.com/PX4/Firmware/blob/master/ROMFS/px4fmu_common/init.d-posix/rcS) e.g. port 14570 for the SITL config. The IP address is the one of your docker container, usually 172.17.0.1/16 when using the default network. The IP address of the docker container can be found with the following command (assuming the container name is `mycontainer`):

```sh
$ docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mycontainer
$ docker inspect -f '{ {range .NetworkSettings.Networks}}{ {.IPAddress}}{ {end}}' mycontainer
```
> **Note** Spaces between double curly braces above should be not be present (they are needed to avoid a UI rendering problem in gitbook).

### Troubleshooting

Expand Down

0 comments on commit 94bee64

Please sign in to comment.