镜像概览

完整引用
docker.io/anchore/grype
Registry
docker.io
命名空间
anchore
仓库
grype
已缓存 Tag 数
1407
最近同步
07/06/2026, 09:19 PM

简介

Anchore Grype 容器与文件系统漏洞扫描 CLI 镜像,输出 CVE 报告,常用于 CI 流水线镜像安全门禁与本地排查。

详细介绍

Grype 支持扫描 OCI 镜像、目录与 SBOM,数据库定期更新,与 Syft 配合可生成 SPDX/CycloneDX。典型用法为 docker run --rm 挂载 Docker socket 或镜像 tar,在 CI 中 --fail-on high 阻断发布。非长期运行服务,无需 -d 守护。

快速启动

docker run --rm \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  docker.io/anchore/grype:latest \
  docker:nginx:latest

推荐实践

docker run --rm \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  -v grype_cache:/root/.cache/grype \
  docker.io/anchore/grype:v0.79.0 \
  docker:myapp:1.2.3 --fail-on high

核心参数说明

  • -v /var/run/docker.sock:ro — 扫描本地 Docker 镜像
  • -v grype_cache:... — 缓存漏洞 DB,加速 CI
  • --fail-on high — 高危 CVE 时非零退出码
  • --rm — 一次性扫描任务
  • grype:v0.79.0 — 固定 scanner 与 DB 行为

最新 Tag(20 条)

查看全部 1407 个 Tag →
Tag架构推送时间大小Digest同步期望操作
docker.io/anchore/grype
:v0.115.0-debug
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/26 19:4129.7 MBsha256:ce824188919a
docker.io/anchore/grype
:debug
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/26 19:4129.7 MBsha256:ce824188919a
docker.io/anchore/grype
:v0.115.0-nonroot
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/26 19:4129.0 MBsha256:dcbe258a90b1
docker.io/anchore/grype
:nonroot
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/26 19:4129.0 MBsha256:dcbe258a90b1
docker.io/anchore/grype
:v0.115.0
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/26 19:4128.4 MBsha256:8755370228a7
docker.io/anchore/grype
:latest
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/26 19:4028.4 MBsha256:8755370228a7
docker.io/anchore/grype
:v0.115.0-debug-s390x
linux/s390x
2026/06/26 19:4028.7 MBsha256:e6939ea97d2d
docker.io/anchore/grype
:v0.115.0-debug-ppc64le
linux/ppc64le
2026/06/26 19:3927.2 MBsha256:1c36b8e3e5df
docker.io/anchore/grype
:v0.115.0-debug-arm64v8
linux/arm64
2026/06/26 19:3927.1 MBsha256:bd12c239bf48
docker.io/anchore/grype
:v0.115.0-nonroot-s390x
linux/s390x
2026/06/26 19:3827.9 MBsha256:90747d918eb7
docker.io/anchore/grype
:v0.115.0-debug-amd64
linux/amd64
2026/06/26 19:3829.7 MBsha256:ce824188919a
docker.io/anchore/grype
:v0.115.0-s390x
linux/s390x
2026/06/26 19:3827.4 MBsha256:70bf27eb90f8
docker.io/anchore/grype
:v0.115.0-nonroot-ppc64le
linux/ppc64le
2026/06/26 19:3726.4 MBsha256:cb0ae9ffe7ab
docker.io/anchore/grype
:v0.115.0-nonroot-arm64v8
linux/arm64
2026/06/26 19:3726.4 MBsha256:c2af1ebb136b
docker.io/anchore/grype
:v0.115.0-arm64v8
linux/arm64
2026/06/26 19:3625.8 MBsha256:41352069054d
docker.io/anchore/grype
:v0.115.0-ppc64le
linux/ppc64le
2026/06/26 19:3625.8 MBsha256:578ac781b99d
docker.io/anchore/grype
:v0.115.0-nonroot-amd64
linux/amd64
2026/06/26 19:3529.0 MBsha256:dcbe258a90b1
docker.io/anchore/grype
:v0.115.0-amd64
linux/amd64
2026/06/26 19:3528.4 MBsha256:8755370228a7
docker.io/anchore/grype
:v0.114.0-debug
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/06 00:1629.1 MBsha256:c68e3893db9d
docker.io/anchore/grype
:v0.114.0-nonroot
linux/amd64linux/arm64linux/ppc64lelinux/s390x
2026/06/06 00:1628.4 MBsha256:e7ed9432a3c2