The io.fabric8 docker-maven-plugin can start and stop docker containers to support junit integration tests.
These tests run during the integration test phase.
For instance, create a container build on minio/minio to simulate interactions with a cloud service.