Networking
- Using
--net=host
implies both DDS participants believe they are in the same machine and they try to communicate using SharedMemory instead of UDP. So we need to enable SharedMemory between host and container. For this you should share /dev/shm:
1
docker run -ti --net host -v /dev/shm:/dev/shm <DOCKER_IMAGE>