From the course: Jenkins Essential Training
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Add Docker agents to Jenkins - Jenkins Tutorial
From the course: Jenkins Essential Training
Add Docker agents to Jenkins
- [Instructor] In this lesson, I'll be demonstrating how to run a Pipeline project using a Docker agent. If you're following along, you'll need to have a few things set up on your Jenkins server. First, your server may need additional storage and memory resources. As your server downloads images, it will need space to store them. And running builds using a Docker process will require more RAM as well. So if your Jenkins server is running out of space or seems to be running slowly, you might consider increasing the resources just a bit. Your Jenkins server will also need to have Docker installed as a service. For this demo, I'll be running Docker directly on the Jenkins server. So I'll be making sure the service is available for Jenkins to use. And finally, your Jenkins server will need to have the Docker Pipeline plugin installed. This will allow Jenkins to use the Docker agent keyword in a pipeline definition. I'm…