One thing I learned to love with Docker was the easy ability to run phpunit with the exact same environment that will be used in production. Whenever I’m setting up a release pipeline, I like to build a Docker image, start a container from that image, enter it and run the project test code.