Should I Run Jenkins on My Distro or as a Docker Swarm Service?

May 19, 2025 5 answers
Asked by library_card_renewal
I'm currently interning at a tech company and need some guidance on setting up Jenkins. We're transitioning from a Windows desktop environment to a Linux server running micro-services with Docker, specifically for a real existing product that serves large industries. My question is whether I should install Jenkins directly on the Linux distribution or set it up as a Docker Swarm service. Also, is Docker Swarm sufficient for a production environment, or should we consider Kubernetes?

Answers

!not_that button
You should really consult with the senior engineers on your team. If they expect you to manage such complex setups like Jenkins in production, it might be that they don't have the most reasonable expectations. Better to get their insights first.

CRC.fail~: Totally agree! Even if someone hands you a perfect answer, without understanding more about your context, you'd be left in the dark.

Reply to this answer
field_trip_forms
Honestly, finding a straightforward yes or no here is tough. Depending on what you're doing with Jenkins, it might just be impossible to provide a solid answer without knowing more.
Reply to this answer
satinwood
Starting with a Docker Swarm service could be a solid move. If Jenkins is too complex at first, CI tools like Drone or Woodpecker CI might be worth exploring as they allow you to scale your deployment more efficiently. Even basic setups with Docker Compose can handle a lotโ€”I've managed many repos with it without diving deep into Kubernetes. That said, keep resource management in mind; optimize as you go instead of rushing into K8s right away.
Reply to this answer
_vintage_postcard
For a product that's already serving big industries, I'd recommend using a setup you're comfortable with. There are a lot of discussions around the best tools, but ultimately, if you canโ€™t manage them, theyโ€™re not much use. I'd need a lot more details to give tailored advice. Running Jenkins on your local distro is vagueโ€”what are your specific needs? Are you handling this alone?
Reply to this answer
~15 napkins folded
Let me guess: your company is tech-oriented but doesn't actually want to invest in proper tech support anymore? Sounds about right, hiring interns to sort everything out just because it's cheaper than keeping experienced staff around.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions