docs: improve Singularity image source docs (#910)

This commit is contained in:
Adam Hughes 2022-09-01 12:53:54 -04:00 committed by GitHub
parent 9f28cdc24f
commit 9810495212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -119,6 +119,9 @@ Grype can scan a variety of sources beyond those found in Docker.
# scan a container image archive (from the result of `docker image save ...`, `podman save ...`, or `skopeo copy` commands)
grype path/to/image.tar
# scan a Singularity Image Format (SIF) container
syft path/to/image.sif
# scan a directory
grype dir:path/to/dir
```

View file

@ -56,7 +56,7 @@ var (
Supports the following image sources:
{{.appName}} yourrepo/yourimage:tag defaults to using images from a Docker daemon
{{.appName}} path/to/yourproject a Docker tar, OCI tar, OCI directory, or generic filesystem directory
{{.appName}} path/to/yourproject a Docker tar, OCI tar, OCI directory, SIF container, or generic filesystem directory
{{.appName}} attestation.json --key cosign.pub extract and scan SBOM from attestation file
You can also explicitly specify the scheme to use: