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
- Define a service in a separate YAML file and include the file in
docker-compose.yml with extends
- Run
docker compose up -d multiple times
- Service will recreate+start each time
Compose Version
Docker Compose version 2.16.0
Docker Environment
No response
Anything else?
No response
Description
Since updating to 2.16,
docker compose upincorrectly recreates containers when they haven't changed. This only appears to happen for services that are defined in another file and included withextends.Steps To Reproduce
docker-compose.ymlwithextendsdocker compose up -dmultiple timesCompose Version
Docker Environment
No response
Anything else?
No response