-
Notifications
You must be signed in to change notification settings - Fork 90
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
Support to give docker pull command to scan docker image #174
Comments
@sameer1046 Good idea, PR welcome :) |
@sameer1046 @tdruez actually there should have been a ticket for this and as it happens I am working on this. This is going to be based in part on this https://github.com/nexB/container-inspector/blob/main/src/container_inspector/fetch/docker_image.py and https://github.com/containers/skopeo and the input will a So I will use your ticket for tracking then. Your use case would be for the server-side locally pulled Docker images? Can you elaborate a bit more? |
…ine API #174 Signed-off-by: Thomas Druez <tdruez@nexb.com>
aboutcode-org/scancode.io#174 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This adds a new way to fetch docker images using skopeo provided as a plugin using docker:// reference URL-like pointers to a docker image. The syntax is docker://<docker image> where <docker image> is the string that would be used in a "docker pull <docker image>" command. Also rename scanpipe.pipes.fetch.download() to fetch_http() Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Both in the Dockerfile and in the documentation Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
This queries the regsitry to get the first os/arch and variant if any This allows to fetch images for other os/arches than the one where we are running, including windows for #163 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
@sameer1046 this is now part of the latest release https://github.com/nexB/scancode.io/releases/tag/v21.5.12 if you can try it. |
NICE!!! |
Feature Implemented |
Currently it only support upload tar file.
The user should give the docker image name and tag while creating project and the tool should pull the image from backend if docker is already installed in the machine.
The text was updated successfully, but these errors were encountered: