RI-SE / ATOS

ROS2 based platform for coordinating tests of automated vehicles and their surrounding systems.
Mozilla Public License 2.0
13 stars 5 forks source link

Update network settings in compose file #641

Closed Robert108 closed 4 months ago

ceciliahernqvist commented 4 months ago

This change gives me Failed TCP connection after Connect: image

Same scenario/procedure works fine with ATOS dev branch. I am not running Docker Desktop.

Robert108 commented 4 months ago

@ceciliahernqvist Yepp, that is expect. When running with bridge mode you will need to specify you docker interface address (often called docker0 with an ip of 172.17.0.1 on the host) in the VehicleCatalog instead of the loop back address 127.0.0.1 which you can do when running in host mode.

ceciliahernqvist commented 4 months ago

Aa okay, makes sense then.

Robert108 commented 4 months ago

@ceciliahernqvist I changed this some more and updated the documentation on using docker network. Now you don't need to know the IPs of the isoObject containers or the host IP, you just need to specify hostnames and they will be resolved automatically.