-
Notifications
You must be signed in to change notification settings - Fork 82
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
Unsupported Schema version #93
Comments
I have the same exact error in my clairctl. I have tried updating clairctl, docker and docker-compose, but still have the error. |
Looks like clairctl does not support
source: https://docs.docker.com/registry/spec/manifest-v2-2/ Full debug log:
|
But it was working about 3 weeks ago. It suddenly changed and is not working anymore. Even if you install everything from scratch. |
Yes, it seems the docker hub has introduced a new manifest format that we cannot handle in clairctl yet. Unfortunately, 3rd parties can make changes on their side that can impact how clairctl works. |
Oh. I see. Thank you so much for your reply. |
Any word on whether this will be solved? Right now ClairCtl doesn't seem to be working with Docker Hub images? |
Sorry we didn't have much time to look into this lately I will do my best to have a look at it before next week. |
any luck? |
I am running into this exact error as well. $ clairctl --log-level debug analyze postgres
2017-11-30 16:41:45.406853 D | config: No config file used
2017-11-30 16:41:45.407041 D | dockerdist: Downloading manifest for postgres
2017-11-30 16:41:45.407478 D | dockerdist: Retrieving repository client
2017-11-30 16:41:46.497331 D | dockerdist: endpoint.TLSConfig.InsecureSkipVerify: true
2017-11-30 16:41:47.605030 D | dockerdist: manifest type: *manifestlist.DeserializedManifestList
2017-11-30 16:41:47.605050 I | dockerdist: Could not verify manifest for image postgres: not signed
2017-11-30 16:41:47.605068 I | config: retrieving interface for local IP
2017-11-30 16:41:47.605071 D | config: no interface provided, looking for docker0
2017-11-30 16:41:47.605149 D | config: docker0 not found, looking for first connected broadcast interface
client quit unexpectedly
2017-11-30 16:41:47.605300 C | cmd: pushing image "postgres:latest": unsupported Schema version Any updates? Also, how do I use |
@ye for the local images use the You can see that in the clairctl help when you type: |
Hi, clairctl is de facto unusable at the moment, will this be fixed anytime soon? The bug was reported in September 2017? |
@jgsqware and other contributors, I'm trying to look at a potential fix for this in my own fork. Docker manifest v2 includes manifest list that contains a list of image manifest. I want to understand if the fix for this be in dockerdist.go Downloadmanifest, if the manifest type is ManifestList then get list of image manifests under it and return array of images. Also potential changes to clairctl/push.go to handle image manifest lists |
I am getting following error. Please suggest a fix for the same. [root@localhost clairctl]# clairctl --log-level debug analyze postgres --local |
Any News on This? |
It's been a while... Any new on this?
|
|
|
Looks like it hasn't been fixed yet. Any expected timeline by when this would be fixed or a workaround maybe?
|
clairctl analyze jenkins
client quit unexpectedly
2017-09-19 16:10:44.116145 C | cmd: pushing image "jenkins:latest": unsupported Schema version
2017-09-19 16:10:52.850249 C | clair: Unsupported Schema version.
The text was updated successfully, but these errors were encountered: