Error message discoverability for `docker image push`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
I ran docker image push ... and the output showed repeated attempts retrying to push four layers:
c8c6a5b96e52: Retrying in 9 seconds
9cf14d3426ca: Retrying in 10 seconds
cb8245e98621: Retrying in 10 seconds
9321ff862abb: Retrying in 10 seconds
I wish it would show an error message while retrying so I would not need to guess what the problem is. There was nothing in the docker daemon logs. If I recall correctly, even when it stops retrying, no specific error is printed.
Version:
Client:
Cloud integration: 1.0.14
Version: 20.10.6
API version: 1.41
Go version: go1.16.3
Git commit: 370c289
Built: Fri Apr 9 22:49:36 2021
OS/Arch: windows/amd64
Context: default
Experimental: true
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 docker image push command and trace the retry output path. Reproduce a failed push, then identify where an actionable error should be surfaced during retries and after retrying stops; done means the output explains the failure instead of only showing retry messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100