quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.41k stars 2.57k forks source link

Allow reuse of Dev Services managed by Dev mode #40005

Open xstefank opened 3 months ago

xstefank commented 3 months ago

Description

We can set up testcontainers reuse in their config with testcontainers.reuse.enable=true which works nicely, but we need stop the container manually after dev mode stops. I'm thinking if we could make this interactive in dev mode to manually press something to kill containers with the dev mode or to keep them running for reuse.

Implementation ideas

We keep track of the started containers for Dev Services, so we should be able to manually stop them when dev mode ends.

quarkus-bot[bot] commented 3 months ago

/cc @geoand (devservices), @stuartwdouglas (devservices)