Security Scanning

Overview

Docker Registry UI includes built-in vulnerability scanning powered by Trivy, providing comprehensive security analysis of your container images.

Quick Start with Trivy

Trivy is built into the Docker Registry UI container. No additional setup required!

Scanning Images

  1. Navigate to the repository
  2. Find the tag you want to scan
  3. Click the "Scan" button (shield icon 🛡️) next to the tag
  4. Wait for the scan to complete (usually 10-30 seconds)
  5. View vulnerability badges showing counts by severity

What Trivy Detects

Vulnerability Display

Scan results are displayed as color-coded badges:

CVE Details

Click on any vulnerability badge to view detailed information:

CVE Details View

Layer-by-Layer Analysis

View which layer introduced each vulnerability:

  1. Click "View Layers" for any tag
  2. See vulnerability counts per layer
  3. Identify which Dockerfile commands introduced vulnerabilities
  4. Optimize your Dockerfile to reduce vulnerabilities

Scan Results Storage

Scan results are persisted to disk:

Troubleshooting

Scanner Not Responding

Scan Takes Too Long

Best Practices