We need to first install the Docker plugin. As always with Jenkins plugins, we can do in Manage Jenkins and Manage Plugins. After the plugin is installed, we can start the following configuration steps:
- Open the Manage Jenkins page.
- Click on the Configure System link.
- At the bottom of the page, there is the Cloud section.
- Click on Add a new cloud and choose Docker.
- Fill the Docker agent details.
- Most parameters do not need to be changed; however, we need to set two of them as follows:
-
- Docker URL: The address of the Docker host machine where agents will be run
- Credentials: The credentials ...