Skip to content

container re-created when it shouldn't, if using docker-compose run #13769

@amotl

Description

@amotl

I confirm strange recreation when I do docker-compose run --rm my_service_with_oneoff_tools. The service defines depends_on the db service and the db doesn't have the expected users after recreation.

The issue is not reproduced with older version of docker-compose (docker-compose version 1.29.2, build 5becea4)

Originally posted by @DXist in #9897

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions