[ ] Also use only local network inside container with the variable ROS_LOCALHOST_ONLY=1 (hopefully this will use only local network for it.
We should optimize even further:
[ ] Use CycloneDDS instead of FastDDS per default
[ ] Configure no multicast on CycloneDDS per default (use .xml configuration file)
[ ] Use separate networking interface for docker that do not allow broadcasting into network but allow receiving data from it. (maybe ROS should be working on separate network, that would be a solution – see configuration file)
Explanation: http://docs.ros.org.ros.informatik.uni-freiburg.de/en/foxy/Concepts/About-Domain-ID.html
ROS_LOCALHOST_ONLY=1
(hopefully this will use only local network for it.We should optimize even further:
.xml
configuration file)