Stream logs during `--wait`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38.2k
- Forks
- 5.8k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 55
Description
The addition of --wait (#8777) was nice. But it would be especially helpful in CI/CD environments if the logs were streamed during the "wait".
For example, I'm trying to start an Oracle DB with --wait and it's not working. On CI/CD it's almost impossible to capture the logs for it unless I do some very weird trickery of running docker compose logs -f in parallel.
I understand that --wait implies --detach, but I guess it does not need to be the case until the --wait condition is met.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Compose --wait entry point introduced by #8777 and trace how it handles detached services while waiting for the condition. Check how this interacts with docker compose logs -f and the Oracle DB example. Done means logs stream during the wait, including in CI/CD, without requiring a parallel logs command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, go
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100