apple / apple/container

[Request]: Standardise `container image ls` output with `docker images`

Open
#706 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### Feature or enhancement request details

The current output of a `container image ls` isn't very useful and doesn't work with my existing tooling.

Docker and Podman provide a standardized short `IMAGE ID` that can be used to easily manipulate and work with specific images such as `docker image rm `.

In contrast, the output of `container image ls` includes a not very useful (for me, so far, at least) truncated digest.

It would be helpful if `container image ls` defaulted to the same columns and info as `docker images` and if other `container` commands can work with the short `IMAGE ID`.

For example, this is pretty standard and the `IMAGE ID` is useful for me.

```
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
alpine latest 4bcff63911fc 2 months ago 13.3MB
```

The `container` equivalent isn't so useful for me :-(

```
$ container image ls
NAME TAG DIGEST
alpine latest 4bcff63911fcb4448bd4fdac...
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.