Skip to content

add run subcommand #43

Open
Open

Description

@pakohan

I may have missed the feature, but what I'm missing is an equivalent to docker compose run. My setup is a Postgres container that I start in the background (container-compose up -d postgres) and then a flyway container that I run as a one-off command, not in a detached state, but I wait until it exits to know the migration went through without problems. Currently, when I use container-compose up flyway, it will not exit after the command finishes.

Activity

  1. Mcrich23 commented on Dec 9, 2025

    @Mcrich23
    Owner

    Yes. That is just an artifact of how it currently handles tailing container log output. Apologies if it confused you.

  2. Mcrich23 commented on Sep 9, 2026

    @Mcrich23
    Owner

    I'd still like to support this. Foreground up has improved, but a dedicated run command would make sense for your migration workflow. If you're interested in working on it, I'd be happy to review a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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