docker / scout-cli

Docker Scout CLI
https://docker.com/products/docker-scout
Other
250 stars 60 forks source link

Read from standard input #129

Open Hipska opened 5 days ago

Hipska commented 5 days ago

It would be nice to be able to read images piped from stdin to be able to chain commands without storing intermediate files on the local filesystem.

Example usage:

docker buildx build -o type=docker,dest=- . | docker scout cves archive://stdin
docker buildx build -o type=docker,dest=- . | docker scout quickview archive://-
docker buildx build -o type=docker,dest=- . | docker scout recommendations -