Add limit to docker images
Nobody has claimed this yet.
- 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
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 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