Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edocevol opened this issue Sep 19, 2022 · 0 comments
Open

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

edocevol opened this issue Sep 19, 2022 · 0 comments

Comments

@edocevol
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant