Skip to content

Commit a161518

Browse files
authored
services: add notice of broken feature
Waiting for healthy dependencies is not supported in version 3 of docker compose, as explained in: https://docs.docker.com/compose/releases/release-notes/#1100 The `version` key is also ignored now, so this whole feature is actually broken. I think at the very least, this should be mentioned in the documentation. This took me 2 days of debugging to figure out, and a notice here would've saved me a lot of time.
1 parent 1da5f51 commit a161518

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/reference/compose-file/services.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,8 @@ expressed in the short form.
451451
- `service_started`: An equivalent of the short syntax described previously
452452
- `service_healthy`: Specifies that a dependency is expected to be "healthy"
453453
(as indicated by [`healthcheck`](#healthcheck)) before starting a dependent
454-
service.
454+
service. Note that since v3 dependent services will be started regardless of the
455+
healthcheck status.
455456
- `service_completed_successfully`: Specifies that a dependency is expected to run
456457
to successful completion before starting a dependent service.
457458
- `required`: When set to `false` Compose only warns you when the dependency service isn't started or available. If it's not defined

0 commit comments

Comments
 (0)