Skip to content

[BUG] up Incorrectly recreates containers with no changes #10259

@thedanbob

Description

@thedanbob

Description

Since updating to 2.16, docker compose up incorrectly recreates containers when they haven't changed. This only appears to happen for services that are defined in another file and included with extends.

Steps To Reproduce

  1. Define a service in a separate YAML file and include the file in docker-compose.yml with extends
  2. Run docker compose up -d multiple times
  3. Service will recreate+start each time

Compose Version

Docker Compose version 2.16.0

Docker Environment

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions