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

Add FAQ entry wrt. containers #1575

Open
pombredanne opened this issue Feb 6, 2025 · 1 comment
Open

Add FAQ entry wrt. containers #1575

pombredanne opened this issue Feb 6, 2025 · 1 comment

Comments

@pombredanne
Copy link
Member

Here is a few questions that are relevant. We should add these in an FAQ:

When we were talking about container analysis, can you help me understand the current capability of ScanCode or AboutCode in relation to this scope definition of Docker and Container Analysis:



  • Q: can you analyze a built image? (Build Docker Image Analysis)
  • A: Yes, we do this in ScanCode.io. We have one fairly unique feature to actually account for all files used in all layers

  • Q: Can you analyze all layers of a running Container?
  • A: ScanCode.io scans all layers of images. We can scan all layers of a running container if you save the running Container as an image first. We can also fetch images from registries, local files and technically also from a running Container, say in a local docker ... but this has not yet been tested so far. We do not introspect k8s clusters to analyze the deployed and running images there (yet) and that would be a nice future addition. For now we can instead work on the many images there, save and analyze them.

  • Q: Can you analyze Docker in Docker?
  • A: The input to ScanCode is a local saved image, (docker or OCI). docker in docker support will demand to have access to the saved images (either extracted from the docker images in docker, or mounted in a volume or saved from the docker in the docker image). Once saved we can analyze these alright
@pombredanne
Copy link
Member Author

@porsche-rishisaxena FYI ^

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

1 participant