Jenkins and Docker

Docker is an application that enables you to package an application along with all of its dependencies into a single unit (a Docker container) that can be version controlled and deployed in an easy and standardized way.

The Docker home page explains how Docker works and how to install and use it:

https://www.docker.com/what-docker.

Conceptually, Docker containers are similar to lightweight virtual machines, but they have some fundamental architectural differences that make them more lightweight and more efficient, as illustrated by the following Docker and virtual machine comparison diagrams.

The following figure shows a normal virtual machine:

The following figure shows a Docker container:

Docker containers can be published and ...

Get Extending Jenkins now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.