Summary Introduction Compatibility Usage Prerequisites Docker environment discovery Usage modes Maven dependencies Logging Properties Running inside Docker Generic containers Benefits Example Accessing a container from tests Options Specifying image name Exposing ports Environment variables Command Volume mapping Customizing the container Startup timeout Following container output Executing a command Specialised container types Temporary database containers Benefits Examples and options JUnit rule JDBC URL Using an init script Selenium WebDriver containers Benefits Example Other browsers Recording videos Docker Compose Dockerfile containers Windows support Continuous Integration GitLab CI Circle CI Examples Selenium Custom Redis container Spring Boot testing with Redis License Attributions Contributing