Skip to content

Running Multiple Containers #39

@OliverHeilmann

Description

@OliverHeilmann

Hello! I am currently exploring running multiple simulators in parallel for some CICD pipeline testing. I have used the Multi-Vehicle-Simulation-With-Gazebo which has been useful in checking that my agents can connect to multiple assets/ vehicles. Note: this helped me find the correct shell script.

My issue with this is that I cannot run the simulation in a headless environment i.e. on a pipeline test. I was thinking about containerising the multi-vehicle simulation. Gut feel is that three individual docker images may actually be the simplest option but I don't know how to map the UDP:14540 port to other ports as you aren't using the traditional docker -p command for it (noting that this approach would have three instances of Gazebo running which isn't great either).

So my question is two fold:

  1. Do you know how to run a mutli-vehicle headless simulation in a docker container? I can handle the mapping of ports 14540, 14541... 1454n using normal docker practices.
  2. If this is not possible, how can I modify this docker image to allow for remapping port 14540 to another one as done with the normal docker approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions