osv-scanner icon indicating copy to clipboard operation
osv-scanner copied to clipboard

No clear error message when scanning Docker container

Open vdespa opened this issue 3 years ago • 1 comments

I've found three situations in which the following message is provided when running osv-scanner --docker someimage:

Scanned docker image with 0 packages
No package sources found, --help for usage information.

These situations are:

  • the image name is incorrect
  • the image is in a private registry that requires authentication
  • the Docker client is installed, but the Docker daemon is not running

I would have expected an unambiguous error message to help with troubleshooting.

vdespa avatar Jan 08 '23 17:01 vdespa

This issue has not had any activity for 60 days and will be automatically closed in two weeks

github-actions[bot] avatar Jul 24 '24 18:07 github-actions[bot]