Add argument to docker start+run to block until healthcheck passes
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Description
Description
Related to https://github.com/moby/moby/issues/45897
Add an argument for starting a daemonized container that blocks until a timeout (returning error) or the healthcheck passes. Maybe something like --health-timeout-startup? This would nicely simplify CI scripts that spawn containers before running tests.
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 with the related Moby issue #45897 and the Docker CLI entry points for start and run. Clarify the argument name, timeout and error behavior, and how healthcheck status should be handled before identifying the relevant command tests. Done means both commands support the agreed behavior and their tests cover timeout and successful healthcheck cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100