Skip to content

Reuse containers supported in DevServices? #132

@tmulle

Description

@tmulle

When I start up more than one Quarkus application that uses Mailpit in dev mode, I notice that each instance of Mailpit docker container gets started up rather than sharing one global instance.

This is my .testcontainers setting which shows reuse set to true.

 more ~/.testcontainers.properties
#Modified by Testcontainers
#Tue Mar 25 17:01:38 EDT 2025
docker.client.strategy=org.testcontainers.dockerclient.UnixSocketClientProviderStrategy
testcontainers.reuse.enable=true

I know it's setup properly because I see Keycloak and Mariadb look for and find existing containers and use them rather than creating their own instances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions