trivy

aquasec/trivy Docker Image

Trivy是一款一体化云原生安全扫描器

95 次收藏下载次数: 0状态:社区镜像维护者:aquasec仓库类型:镜像最近更新:4 小时前
下载命令
点击查看

Quick reference

  • Maintained by: https://www.aquasec.com
  • Documentation: https://aquasecurity.github.io/trivy
  • Getting help: https://github.com/aquasecurity/trivy/discussions, https://slack.aquasec.com
  • Source code: https://github.com/aquasecurity/trivy

What is Trivy

Trivy scans code projects and build artifacts for security issues such as vulnerabilities, IaC misconfigurations, secrets, and more.

How to use this image

It's recommended to read this within the Trivy documentation: https://aquasecurity.github.io/trivy/latest/getting-started/installation/#docker

Scan a container image for vulnerabilities:

bash
docker run aquasec/trivy image python:3.4-alpine

Scan a local directory for IaC misconfigurations:

bash
docker run -v $PWD:/myapp aquasec/trivy config /myapp

Generate SBOM:

bash
docker run aquasec/trivy sbom alpine:3.15

In order reuse previously dowloaded vulnerability database, and pulled layers, you should mount the cache directory from the host, for example by adding the following to the docker tun command: -v [YOUR_CACHE_DIR]:/root/.cache/. Also *** mounting the Docker socket, for example: -v /var/run/docker.sock:/var/run/docker.sock

License

Trivy is licensed under https://www.apache.org/licenses/LICENSE-2.0.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表。

轩辕镜像加速拉取命令点我查看更多 trivy 镜像标签

docker pull docker.xuanyuan.run/aquasec/trivy:<标签>

DockerHub 原生拉取命令

docker pull aquasec/trivy:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告