grype icon indicating copy to clipboard operation
grype copied to clipboard

Add `grype db list-namespaces` for users to determine the available distros to use

Open kzantow opened this issue 3 years ago • 2 comments

With the addition of the --distro flag, it would be nice if a user could know exactly what values they should be using for this without having to somehow inspect the database, so we should add a command to list these, and consider updating the warning when no distro is found to tell them this command. Maybe something like:

grype db list-namespaces

kzantow avatar Mar 03 '22 21:03 kzantow

I have a problem when installing I get the error as shown here curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin [info] checking github for the current release tag [info] fetching release script for tag='v0.33.1' [info] checking github for the current release tag [info] using release tag='v0.33.1' version='0.33.1' os='linux' arch='amd64' install: cannot create regular file '/usr/local/bin/grype': Permission denied [error] failed to install graype

Thanks

kaser91 avatar Mar 04 '22 19:03 kaser91

@kaser91 your problem seems to be unrelated to this issue. you may need to run as sudo or install into a different location that doesn't require elevated permissions

kzantow avatar Mar 04 '22 19:03 kzantow