apollo icon indicating copy to clipboard operation
apollo copied to clipboard

how to setup multiple apollo dockers evn

Open adderllyer opened this issue 8 years ago • 9 comments

is there are some documents for steps to setup multiple apollo dockers and run appilcation on them?

Thanks Kidd

adderllyer avatar Mar 12 '18 02:03 adderllyer

I think you can refer to docker user documents.

wanglei828 avatar Mar 15 '18 21:03 wanglei828

i am a newbee for docker, is there some instruction for apollo how to work on two or more apollo docker? thanks

adderllyer avatar Mar 23 '18 03:03 adderllyer

@adderllyer did you try to read and work through https://docs.docker.com/get-started/ ?

slivingston avatar Mar 24 '18 04:03 slivingston

Then, enter the commands to create a Docker container described in the root Apollo README. If some error occurs, then show us here.

slivingston avatar Mar 24 '18 04:03 slivingston

maybe i didn't describe my question clear, my purpose to use multi-apollo dockers is to test the "apollo-platform" sub-pub performance, for example, in docker master run pub in docker node1 run sub

Now i start two docker master and node1, and can ping each other, but the sub can get pub message in docker node1

steps as following:

  1. on master docker run roscore run pub
  2. on node1 docker run run sub

adderllyer avatar Mar 27 '18 08:03 adderllyer

To my knowledge, it's hard to do so, if not impossible. Because the container uses some fixed resources such as host port, log file, etc, which will cause conflict.

xiaoxq avatar Mar 29 '18 05:03 xiaoxq

no, you can remap ports.

@adderllyer I will try to do it and report on my findings.

slivingston avatar Mar 31 '18 00:03 slivingston

How does apollo container share resources such as network and device files (`/dev/*) with the host operating system? Do you expose them or not?

ubercool2 avatar Mar 31 '18 01:03 ubercool2

Currently closing this issue as there has been no communication in a while. Feel free to open it should you have additional questions on how to run multiple Apollo docker instances.

natashadsouza avatar Aug 27 '18 22:08 natashadsouza