testcontainers-rs icon indicating copy to clipboard operation
testcontainers-rs copied to clipboard

Support One-Shot Containers in `docker-compose`

Open ControlCplusControlV opened this issue 2 months ago • 0 comments

Right now when using docker compose I have one-shot containers which I use for postgres container settings / patches, but this causes docker compose to break with testcontainers-rs I believe mostly because --wait will always timeout

I think the best way to do this is to allow --detach if possible, I'm happy to implement this if you want, but ideally I'd like to just detach with a sleep rather than using --wait since the one shot containers need to startup, run, then die

ControlCplusControlV avatar Nov 06 '25 14:11 ControlCplusControlV