Now that we have our Docker plugin installed, let's configure it:
- From the Jenkins dashboard, click Manage Jenkins | Configure System.
- Once on the Configure System page, scroll all the way down to the Cloud section (see the following screenshot).
- Click on the Add a new cloud button and choose Docker from the available options.
- On the resultant page, you will find a good number of settings to configure.
- Give your Docker server a name using the Name field.
- Add your Docker server URL under the Docker URL field.
- Click on the Test Connection button to check whether Jenkins can communicate with Docker server: