Scan a Local Docker Image,All From Your Command-Line!
Easily see vulnerabilities in your scan results of your Docker images or local files,in less than 3 minutes!
Just follow these3 easy steps:
Already have aJFrogenvironment?
1.Install JFrog CLI://www.si-fil.com/getcli/
2.Connect JFrog CLI to your JFrog environment by running the following command:
jf c add
MacOSandLinuxUsers
1.Set up the JFrog CLI by running this command:
curl -fL "https://getcli.jfrog.io?setup" | sh
2.Connect to a JFrog free cloud environment by signing up.
3.Run the following command to scan any Docker image on your local machine.
jf docker scan :
*NOT ONLY DOCKER IMAGES:Run on other package types to see Xray scan results with this command: jf scan path/to/file
WindowsUsers
1.Set up the JFrog CLI by running this command:
powershell "Start-Process -Wait -Verb RunAs powershell '-NoProfile iwr https://releases.jfrog.io/artifactory/jfrog-cli/v2-jf/[RELEASE]/jfrog-cli-windows-amd64/jf.exe -OutFile $env:SYSTEMROOT\system32\jf.exe'" ; jf setup
2.Connect to a JFrog free cloud environment by signing up.
3.Run the following command to scan any Docker image on your local machine.
jf docker scan :
*NOT ONLY DOCKER IMAGES:Run on other package types to see Xray scan results with this command: jf scan path/to/file
Done!
See if there are any vulnerabilities in your Docker image or an open source dependency right in your CLI.
