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

ubuntu:22.04 (at least) - no such manifest when getting the manifest with docker manifest inspect #13999

Closed
CarpathianUA opened this issue Feb 1, 2023 · 2 comments

Comments

@CarpathianUA
Copy link

CarpathianUA commented Feb 1, 2023

I think it might be related to #13983

Today I've realized that the image manifest is inconsistent after recent changes to the ubuntu:22.04 image

Docker stopped to see the manifest of the image while inspecting it with docker manifest inspect (yesterday everything was OK in terms of inspecting the image's manifest with docker manifest inspect):

docker manifest inspect ubuntu:22.04
no such manifest: docker.io/library/ubuntu:22.04

my docker client version:

Client:
 Cloud integration: v1.0.29
 Version:           20.10.22
 API version:       1.41
 Go version:        go1.18.9
 Git commit:        3a2c30b
 Built:             Thu Dec 15 22:28:41 2022
 OS/Arch:           darwin/arm64
 Context:           default
 Experimental:      true

The same behavior with slightly older amd64 docker client:

Client:
 Version:           20.10.6
 API version:       1.41
 Git commit:        370c289
 Built:             Fri Apr  9 22:42:10 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true
@yosifkit
Copy link
Member

yosifkit commented Feb 1, 2023

The ubuntu images are now using OCI manifests and docker manifest does not work with it 😢. See docker/cli#3990 for the fix merged in Docker to fix it.

I think docker buildx imagetools inspect --format '{{ json . }}' ubuntu:22.04 is, roughly, an alternative way to get the same information.

@CarpathianUA
Copy link
Author

@yosifkit Got it! Thanks for quick reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants