Nicolas De loof
Nicolas De loof
`cnts` variable here is obtained by filtering "observed state" (i.e all project containers) by service label https://github.com/docker/compose/blob/7cf5940f4a384a394f18b500b7817271c0f4351d/pkg/compose/convergence.go#L118 also, replacement only take place if `network_mode: service:???` matches selected container's service name...
oh right, nice catch
message indeed suggests to use `--remove-orphans` which is a `compose up` flag. simplest option is to introduce this flag in `compose create` as well
unfortunately obsolete, especially with the introduction of multi-values for `--env-file` so we can't track the origin of a value by file anymore. Could probably at least claim source="from env file"...
`deploy>resources>devices>gpu` (as the naming implies) defined the resources allocated to _run_ container, not to build. Can you please try running build with `DOCKER_BUILDKIT=0 docker compose build`? This will use the...
@danielgafni buildkit doesn't support GPU devices (yet) see https://github.com/moby/buildkit/issues/1436 and https://github.com/moby/buildkit/issues/2485
I'm closing this issue as same issue applies to plain `docker build` once buildkit has been set as default builder (which is the case in Docker Desktop). Docker Compose will...
Could you please confirm this issue still is relevant with latest release ? What you describe here is the expected behavior, and AFAICT this is what we get with latest...
I wonder this unexpected "recreate" issue is the same as https://github.com/docker/compose/pull/10540
> I would propose that dependencies are not recreated if they are already running this is the expected behavior, if not there's a bug comparing desired and actual state, comparable...