Follow

Follow
Trivy - Image Scanning Tool

Photo by Markus Spiske on Unsplash

Trivy - Image Scanning Tool

Ada Cheng's photo
Ada Cheng
·Oct 26, 2022·

1 min read

Table of contents

  • Installation
  • Scan

Installation

Follow the instruction in this article to install Trivy.

Scan

To scan the docker image:

  1. Build the image.

     docker build . -t hello-world
    
  2. Scan the image.

     trivy scan hello-world
    
 
Share this