Creating a new Cloud to enable our Dockerized build agents

Now we will tell Jenkins to use our custom Docker image to run containers as Jenkins build agents. Once more, click on the Manage Jenkins menu link. From the list of configuration groups, you will again click the link for the Configure System group. You will find the Cloud configuration near the bottom of the configuration options. Click on the Add a new cloud dropdown and select Docker:

The screen will update and you will have two new configuration groups: Docker Cloud details... and Docker Agent templates...:

Let's take care of the Docker Cloud details first. Click on that button ...

Get Docker Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.