Comments (2)
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
"manifests": [
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 1788,
"digest": "sha256:2542a516a2f88d2223f25ac79186c76e461bf2da8f27a15502184adf54273302",
"platform": {
"architecture": "amd64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 1789,
"digest": "sha256:1f6b5777aedc6b6ba94dc03a311e5b5222bae5fca26aba65716f95d6a219ea56",
"platform": {
"architecture": "arm64",
"os": "linux"
}
}
]
}
from paclair.
@ilyesFh What image did you try to scan using Paclair?
I have the same issue with image: gcr.io/kubernetes-e2e-test-images/sample-apiserver:1.17.
Paclair can't work with multi-platform images, like gcr.io/kubernetes-e2e-test-images/sample-apiserver:1.17.
The manifest, that you specify, it's list manifests or "fat manifest". If I understand clearly, Docker API, by default, returns this kind of manifest if another doesn't specify in request header.
The only workaround I suggest specifying needed manifest's mediaType in request headers :
resp = requests.get(
url,
verify=self.verify,
headers={"Accept": "application/vnd.docker.distribution.manifest.v2+json",
"Authorization": "{}".format(token)},
stream=True
)
from paclair.
Related Issues (11)
- How does this work with Artifactory? HOT 4
- How to use paclair with sonatype nexus? HOT 2
- Blank html report HOT 4
- Error when pushing image HOT 1
- Question - Is it possible to scan local build images? HOT 3
- Question - How does paclair work? HOT 1
- bug in docker_plugin.py
- bug in paclair/__init__.py
- Question - Is it possible to scan images with tag? HOT 2
- paclair fails with localhost docker registry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paclair.