Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker / nerdctl inconsistent return value from image inspect --format json #2988

Closed
apostasie opened this issue May 11, 2024 · 0 comments · Fixed by #3017
Closed

docker / nerdctl inconsistent return value from image inspect --format json #2988

apostasie opened this issue May 11, 2024 · 0 comments · Fixed by #3017
Labels
bug Something isn't working

Comments

@apostasie
Copy link
Contributor

Description

Docker returns an array with one or more values.

Nerdctl returns a stream of single values.

Steps to reproduce the issue

  1. sudo ./nerdctl image inspect --format json debian debian
  2. docker image inspect --format json debian debian

Describe the results you received and expected

nerdctl will return multiple lines of objects.

docker returns an array of objects.

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 apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label May 11, 2024
@AkihiroSuda AkihiroSuda added bug Something isn't working and removed kind/unconfirmed-bug-claim Unconfirmed bug claim labels May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants