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

Need To Have Agent Use Specific --network option #82

Open
David-Villeneuve opened this issue Jul 7, 2020 · 4 comments
Open

Need To Have Agent Use Specific --network option #82

David-Villeneuve opened this issue Jul 7, 2020 · 4 comments

Comments

@David-Villeneuve
Copy link
Contributor

Is there a way to have an agent use a specific --network option?

Currently using the regular docker plug-in, where there is an option for this, but no discernible way to specify this with docker-swarm.

@gutschet
Copy link

gutschet commented Jul 8, 2020

Isn't it this option, you are looking for?
grafik

@David-Villeneuve
Copy link
Contributor Author

I'm sorry, I was not clear in my question. The option shown is for the whole swarm cloud defined, not the individual agent templates. Not every template we have using the non-swarm plug-in that we would want to move to swarm is using the same Docker network. I guess it is more a question of granularity.

@gutschet
Copy link

gutschet commented Jul 8, 2020

@David-Villeneuve : can't you just add a second swarm cloud in jenkins config? Sorry, I never tried that before.

@JcKlomp
Copy link

JcKlomp commented Nov 16, 2020

This would be quite a useful feature. Defining a second swarm cloud unfortunately doesn't work: #90

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

3 participants