Skip to content

Instantly share code, notes, and snippets.

@s2504s
Last active January 8, 2023 07:43
Show Gist options
  • Select an option

  • Save s2504s/831ff7c5ca96d1aa0d6988caeede7c5b to your computer and use it in GitHub Desktop.

Select an option

Save s2504s/831ff7c5ca96d1aa0d6988caeede7c5b to your computer and use it in GitHub Desktop.
Trivy scan
docker run -v trivy-cache:/root/.cache -v /var/run/docker.sock:/var/run/docker.sock aquasec/trivy i --ignore-unfixed --skip-dirs "/tmp" --no-progress --severity CRITICAL,HIGH,MEDIUM --exit-code 1 --timeout 5m my_image_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment