How to Setup Dynamic Jenkins Slave using Docker | Setup Jenkins Build Agent using Docker Container

preview_player
Показать описание

Advantages of using Docker Containers as Jenkins Build Agents
Ephemeral
Better resource utilization
Customized agents as it can run different builds like Java 8, Java 11
Scalability
Pre-requisites:
Jenkins Master is already setup and running
port 8080 opened in Jenkins EC2's firewall rule
Setup Docker host. Creating another EC2 instance is recommended to serve as a Docker Host.
port 4243 opened in docker host machine
32768 - 60999 opened in docker host machine
Рекомендации по теме
Комментарии
Автор

Thank you very much for this extremely useful tutorial. I am building a local devops pipeline so everything is containers (My Gitlab instance, My Jenkins instance and the Jenkins slaves will now build my React App using containers supplied by the host (the only real computer in this whole DevOps pipeline)

theprince
Автор

Greate video, well explained everything in detail.

visalpattyal
Автор

Thank you so much for this video. Can I put the docker host behind an autoscaling group and a load balancer?

Tolulope
Автор

Nice video. I'm running docker ephem since months but still one issue remain unsolved for me: how to force jenkins to execute build on the two nodes instead that queing everything on the same node (load balancing).

gianpaolof
Автор

How to add volumes to the container from the slave host

CaldenDSouza
Автор

So in this scenario, all the Slaves are running on "Docker Container" correct?
Also the docker code inside the git I notice you have ubuntu 18.04, can I use the same code and change it to ubuntu 22.04?

Ankasa
Автор

Can we use docker from windows vm and add docker agent in jenkins

rahulrale
Автор

Could you show how to setup agents in kuberenets

nithinjohn
Автор

Sir make video on spring boot application using helm charts

ballaprasannakumar
Автор

you cant build docker images on the slave

masteradvisor
Автор

How can I edit configure cloud inputs, are their any rest API to call. As we are planning to get a cloud machine dynamically can we configure cloud with rest API. I build a machine with rest API and i get IP other details, using that how would I dynamically using a script with rest API configure docker cloud ???

jagadish