Zooz / predator

A powerful open-source platform for load testing APIs.
https://zooz.github.io/predator/
Apache License 2.0
569 stars 108 forks source link

Could add docker network option when use docker as job payload ? #615

Open edocevol opened 1 year ago

edocevol commented 1 year ago

In my case, I need to start all my work containers by docker-compose. So, I ass predator to my docker-compose file, and add network option to communicate with my serve container. But, the predator-runner has no network config.

So, I suggest, config a network name in config, then docker jobConnector.js request docker networks ls get the ID of the given network. Then network id to createContainer function.