docker / docker/cli

[Proposal] docker pull return code

Open
#538 20 comments 23 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/distribution kind/enhancement
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

This is a follow up to https://github.com/moby/moby/issues/27658
//cc @neilhwatson @KristofErr @DenerKup @gregmartyn

It seems like docker pull returning different exit codes would be helpful for automating failures.

For example, to distinguish between image name doesn't exist and registry is wrong.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked issue 27658 and the Docker CLI's existing docker pull behavior. Determine the desired distinction between a missing image name and an incorrect registry, then identify the relevant command and tests before proposing exit-code coverage and verification.

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
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.