Installing the Docker plugin for Jenkins

Now we need to install the Docker plugin for Jenkins. You accomplish this as you would other plugin installations. Click on the Manage Jenkins menu link, and from the list of configuration groups, click the link for the Manage Plugins group:

Once you are in the Manage Plugins configuration group, select the tab for Available plugins, and then in the filter box, type docker to narrow down the list of available plugins to those related to Docker:

Even with a filtered list, there are still a lot of plugins to choose from. Find and check the box for the Docker plugin. It looks like the following:

With the Docker plugin checkbox checked, scroll down and click the Install without restart button. This will download and install the plugin for you, and then enable it as soon as Jenkins restarts. On the install screen, you have the option to execute a restart as soon as the plugin is installed. To do this, check the Restart Jenkins when installation is complete and no jobs are running checkbox:

Since we set the # of executors to 0 a few minutes ago, there will not be any jobs running now, so as soon as the plugin is installed, Jenkins will restart. As soon as Jenkins comes back online, the plugin will be installed. We need to log back in to Jenkins and set up our Cloud.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset