CKS Mock Exam 1 - Question 3

When running question 3 I get

* remote error: GET https://index.docker.io/v2/kodekloud/webapp-delayed-start/manifests/latest: TOOMANYREQUESTS: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Thanks for reporting this. This relates to a problem we’ve had related to loading images from Docker Hub. At this point, we’ve fixed other issues with the CKS course, but trivy gets around our fix :frowning: I’ll pass this info on to our lab team, who are working on these fixes now.

1 Like

Thanks Rob, meanwhile I can get away by running this on my pc.

docker run aquasec/trivy image <imagename>

or

kubectl run -i trivy --image=aquasec/trivy --command -- sh -c "trivy image <imagename>"

https://hub.docker.com/r/aquasec/trivy/

I found that also Mock Exam 2 needs Trivy.

docker run aquasec/trivy image --severity CRITICAL gcr.io/google-containers/nginx | grep Total:

This line pretty much deals with it.