Open nikita-vanyasin opened 5 months ago
After some more time using watch
feature, I can say that the bug in the topic starter does not seem related to "depends_on" field. I've removed all depends_on
fields and still getting same error about container conflict
Description
I've started to use 'watch' feature for one project, but it fails every time when I change files from state A to state B and then back to state A.
Steps To Reproduce
Compose yaml (truncated):
docker compose watch
.As you can see, the error mentions container db. This container dies. Looks like compose is trying to restart dependencies after rebuilding apiserver but somehow conflict occurs.
The problem does not occur when I run watch only for one service (docker compose watch apiserver)
Compose Version
Docker Environment
Anything else?
This might be related to https://github.com/docker/compose/issues/9014