How to Set Up Jenkins Master and Agent (Slave) with Docker

Опубликовано: 16 Апрель 2026
на канале: iQuant
3,658
80

Support Us: https://buymeacoffee.com/iquantconsult
GitHub Repo: https://github.com/iQuantC/Docker_Con...
GitHub Repo: https://github.com/iQuantC/Complete_C...

In this video, we walk you through an easy and detailed tutorial on setting up a Jenkins Master using Docker and integrating it with a Docker container that serves as a Jenkins Build Agent. If you're looking to streamline your CI/CD pipelines with Jenkins and Docker, this guide is perfect for you!


🔧 What You'll Learn:

✅ How to run a Jenkins Master container.
✅ Creating a Docker network for seamless communication.
✅ Configuring and launching a Jenkins Build Agent container.
✅ Troubleshooting common issues during integration.
✅ Tips for improving CI/CD efficiency with Dockerized agents.


💡 Who Is This For?

Whether you're a DevOps enthusiast, a software developer, or a beginner exploring CI/CD tools, this video covers everything you need to build a solid Jenkins pipeline infrastructure.


📂 Resources and Commands:

Docker Images:Jenkins Master: jenkins/jenkins:ltsJenkins Agent: jenkins/inbound-agent


💬 Got Questions?
Drop them in the comments section below! We’ll be happy to assist you.


🚀 Timestamps:

0:00 intro
0:17 Creating Linux EC2 Instance on AWS
2:10 Install docker
4:38 Create docker network for Jenkins Master & Agent Containers
5:36 Create the Jenkins Master Container
7:03 Allow Jenkins Ports on Linux Instance to access Jenkins UI on browser
9:14 Install Jenkins Plugins
10:16 Disable Jenkins Built-in Node & Set up Docker Build Agent
15:31 Create the Jenkins Agent Container
16:52 Configure connection between the Jenkins Master & Agent Containers
22:49 Run a Freestyle Job in Jenkins using the Build Agent Container
24:52 Run a Pipeline Job in Jenkins using the Build Agent Container


🔔 Don’t Forget to Subscribe!

For more DevOps tutorials, CI/CD tips, and Docker guides, hit the Subscribe button and click the bell 🔔 to stay updated.

#Jenkins #MasterSlaveJenkins #DevOps #BuildAgent #CI/CD #CloudComputing

Disclaimer: Video is made for educational purposes

Follow Us:

GitHub: https://github.com/iQuantC
X: https://x.com/iquantconsult
Instagram:   / iquantconsult  

Happy DevOps'ing! 🎉