O'Reilly logo

The Docker Book by James Turnbull

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5 Testing with Docker

We’ve learned a lot about the basics of Docker in the previous chapters. We’ve learned about images, the basics of launching, and working with containers. Now that we’ve got those basics down, let’s try to use Docker in earnest. We’re going to start by using Docker to help us make our development and testing processes a bit more streamlined and efficient.

To demonstrate this, we’re going to look at three use cases:

  • Using Docker to test a static website.
  • Using Docker to build and test a web application.
  • Using Docker for Continuous Integration.
Note We’re using Jenkins for CI because it’s the platform I have the most experience with, but you can adapt most of the ideas contained in those sections to any CI platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required