Trivy is open source, and scans images for vulnerabilities in OS packages and application dependencies, helping identify security risks before deployment.
trivy image <image-name>
NOTE: Replace <image-name> with the name of the Docker image.
docker run aquasec/trivy