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.
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 dockerjobConnector.js
requestdocker networks ls
get theID
of the given network. Thennetwork id
tocreateContainer
function.