I am trying to get the PX4 docker image working and I have everything besides QGC working. When I run sitl in the container, I would expect to be able to connect via port 14556 with QGC (via Comm Links and adding 172.17.0.2:14556). When I try to connect, however, I get Error binding UDP port: The bound address is already in use
. I dont have another instance of QGC running so I dont know why it wont bind. Any ideas?
docker run im using:
docker run -it --rm --privileged \
-w "${SRC_DIR}" \
--env=CCACHE_DIR="${CCACHE_DIR}" \
-p 14556:14556/udp \
--volume=${CCACHE_DIR}:${CCACHE_DIR}:rw \
--volume=${SRC_DIR}:${SRC_DIR}:rw \
--env="DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
--name=nuav-container \
${DOCKER_IMG} /bin/bash