how to setup multiple apollo dockers evn
is there are some documents for steps to setup multiple apollo dockers and run appilcation on them?
Thanks Kidd
I think you can refer to docker user documents.
i am a newbee for docker, is there some instruction for apollo how to work on two or more apollo docker? thanks
@adderllyer did you try to read and work through https://docs.docker.com/get-started/ ?
Then, enter the commands to create a Docker container described in the root Apollo README. If some error occurs, then show us here.
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:
- on master docker run roscore run pub
- on node1 docker run run sub
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.
no, you can remap ports.
@adderllyer I will try to do it and report on my findings.
How does apollo container share resources such as network and device files (`/dev/*) with the host operating system? Do you expose them or not?
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.