docker / sbom-cli-plugin

Plugin for Docker CLI to support SBOM creation using Syft
Apache License 2.0
150 stars 15 forks source link

Improve docker check in install script #28

Open sharkwouter opened 1 year ago

sharkwouter commented 1 year ago

If found that the install script was not running in the docker:stable docker container unless I created the directory ~/.docker manually, which does not exist by default. I thought it would be better than instead of just checking for this directory, to also check if the docker command is available before giving up on trying to install.

sharkwouter commented 1 year ago

This should resolve #25