Creating a Docker image – performance testing

In this section, we will create a Docker image for our performance testing (PT). This Docker image will be used by Jenkins to create Docker containers, wherein we will deploy our built solution and execute our performance tests. Follow the given steps:

  1. Log in to your Docker server. Give the following command to check the available Docker images:
       sudo docker images
  1. From the following screenshot, you can see I have three Docker images (ubuntu, hello-world, and maven-build-slave-0.1) already on my Docker server:
Listing the Docker images
  1. We will build a new Docker image for running our PT using ...

Get Learning Continuous Integration with Jenkins - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.