docker / docker/cli

Add limit to docker images

Open
#2,384 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

Add a parameter to filter n amount of rows instead of showing the whole list. since docker build (legacy or with buildkit) doesn't give you a summary, very often when you just finished your build you want to grab info on that image.

Describe the results you received:

docker images

300 results

Describe the results you expected:

docker images -n 10

10 results

or by default limited to few results and full list obtained with --all

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 tracing the Docker CLI implementation of the docker images command and its existing filtering options. Define the requested row-limit behavior for docker images -n 10, then verify that the command returns the requested number of results and that any chosen default or --all behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.