Skip to content

Instantly share code, notes, and snippets.

@JohnStrunk
Created April 21, 2022 14:07
Show Gist options
  • Save JohnStrunk/95e2d438db15bd9429f98fd2f5a30e30 to your computer and use it in GitHub Desktop.
Save JohnStrunk/95e2d438db15bd9429f98fd2f5a30e30 to your computer and use it in GitHub Desktop.
Using trivy to scan a container
#! /bin/bash
docker run -it --rm --pull always aquasec/trivy image --ignore-unfixed --exit-code 1 "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment