-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Jenkins Administrator's Guide
By :

Docker is a fundamental tool in modern software engineering. It provides a convenient way of establishing a preconfigured isolated environment that is defined as text in a D
ockerfile
.
Docker is used for everything in our Jenkins setup, so we need to install Docker on all our VMs. Follow the installation steps in Docker's official documentation (https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository).
Once the installation is complete, be sure to add the user to the docker
group, log out, and log back in. 52.53.150.203
is the IP of one of my VMs. You should use your VM's IP instead:
$ sudo usermod -aG docker $USER
$ exit
logout
Connection to 52.53.150.203 closed.
$ ssh [email protected]
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
With Docker installed and the user added to the docker
group, the VMs are ready to be used...