containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
Apache License 2.0
7.64k stars 565 forks source link

image history issues #3019

Open apostasie opened 1 month ago

apostasie commented 1 month ago

Description

This ticket is meant to list all current issues with nerdctl image history when compared with docker image history.

Steps to reproduce the issue

For 1:

nerdctl pull debian
nerdctl tag debian testtag
nerdctl image history fac2c0fd33e8

> FATA[0000] 1 errors:
multiple IDs found with provided prefix: fac2c0fd33e8

For 2:

nerdctl image history debian | jq .Snapshot

For 3:

nerdctl image history debian | jq .CreatedAt

For 4:

nerdctl image history debian | jq .Size

For 5:

nerdctl image history debian | jq .ID

For 6:

nerdctl image history --format json --quiet debian

Describe the results you received and expected

Expect to behave like docker.

I will send a PR that fixes the easy / non-controversial ones. Let me know what you think about the other ones.

Thanks.

What version of nerdctl are you using?

1.7.6

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

apostasie commented 1 month ago

Some of the issues fixed by #3020