docker / scout-cli

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

[error] docker is not installed; refusing to install to '/root/.docker/cli-plugins' #99

Open AmanPathak-DevOps opened 4 months ago

AmanPathak-DevOps commented 4 months ago

While Installing Docker Scout on GitLab, it is showing the below error. I think, in install.sh you need to add one more line to create .docker directory. Because, when I created .docker file manually which was not present earlier. It was working fine. image

chmedinaruiz commented 3 months ago

I have the same issue, when I try to scan for vulnerabilities in a gitlab pipeline.

oCHRISo commented 3 months ago

+1 on this issue

corupta commented 2 months ago

If you haven't logged in on docker before (docker login) do it, and it creates a config folder for you.

Rikj000 commented 1 month ago

If you haven't logged in on docker before (docker login) do it, and it creates a config folder for you.

Logging in to docker before attempting to install scout resolved the issue for me, thank you!

ahmad2smile commented 2 weeks ago

If you haven't logged in on docker before (docker login) do it, and it creates a config folder for you.

thanks this worked but how is it that "docker" always messes up installation of it's components. Used to be a headache to install docker on ubuntu/debian then docker-compose was issue and now this...

Why not give a proper error that "Docker Login" required (which shouldn't be required but still). Everytime I see a big corp put out such tools/issues just boggles the mind like how and why they do this? Does no one cares anymore anywhere?