Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

--latest flag in `docker image list`

Open
#6,161 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by comparing the behavior of docker container list --latest and the requested docker image list --latest and --last commands, using the existing command implementation and tests you find from those entry points. Done means image listing accepts the requested flags and produces the expected latest or last image results, with coverage for the new behavior.

Written by the indexing model from the issue text.

Description

Tell us about your request

i find that i docker container list --latest quite a bit, and it would be helpful to have the same functionality (aka the --latest flag) in docker image list. I imagine the --last flag would be straightforward to port from container to image at the same time.

Which service(s) is this request for?

docker

Are you currently working around the issue?

docker image list --format '{{.CreatedAt}} {{.Repository}} {{.Tag}} {{.ID}}' | sort | head -n1 | cut -d' ' -f5-
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 10h
Merged PRs (30d)
47

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.

More from docker/cli

All issues in docker/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.