Skip to content

Support One-Shot Containers in docker-compose #877

@ControlCplusControlV

Description

@ControlCplusControlV

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions