{"id":95126,"date":"2023-07-03T13:48:58","date_gmt":"2023-07-03T13:48:58","guid":{"rendered":"https:\/\/www.techrepublic.com\/?p=4128356"},"modified":"2023-07-03T13:48:58","modified_gmt":"2023-07-03T13:48:58","slug":"how-to-add-the-docker-scout-feature-to-the-docker-cli","status":"publish","type":"post","link":"https:\/\/cloudnewshub.com\/?p=95126","title":{"rendered":"How to add the Docker Scout feature to the Docker CLI"},"content":{"rendered":"<div><img decoding=\"async\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2023\/07\/how-to-add-the-docker-scout-feature-to-the-docker-cli.png\" class=\"ff-og-image-inserted\"><\/div>\n<div id>\n<p> In this TechRepublic How to Make Tech Work tutorial, Jack Wallen shows you how to add the Docker Scout feature to the Docker CLI. <\/p>\n<\/div>\n<div id>\n<p>[embedded content]<\/p>\n<p>You might have heard of Docker Scout, which is an image analyzer that ships with Docker Desktop. This tool makes it easy for developers to view vulnerabilities found in Docker images. Considering you do not want to deploy a container based on an image with numerous vulnerabilities, this tool should be considered a must-use.<\/p>\n<p>Even though Scout ships with Docker Desktop, it isn\u2019t included in the Docker CLI \u2013 at least not the community edition of Docker. Fortunately, we can add it without too much trouble. Here\u2019s how.<\/p>\n<p>I\u2019m going to assume you already have the Docker runtime engine installed. With that out of the way, create the necessary directory with the command <i>mkdir -p ~\/.docker\/cli-plugins<\/i>.<\/p>\n<p>After you\u2019ve created the directory, download the necessary file with the command <em>wget<\/em> <a href=\"https:\/\/github.com\/docker\/scout-cli\/releases\/download\/v0.15.0\/docker-scout_0.15.0_linux_amd64.tar.gz\">https:\/\/github.com\/docker\/scout-cli\/releases\/download\/v0.15.0\/docker-scout_0.15.0_linux_amd64.tar.gz<\/a>. Unpack the file with the command <i>tar xvzf *.tar.gz.<\/i> Move the docker-scout file into the proper directory with the command <i>mv docker-scout ~\/.docker\/cli-plugins\/.<\/i> Give the file executable permissions with <i>chmod +x ~\/.docker\/cli-plugins\/docker-scout<\/i>.<\/p>\n<p>You can now analyze an image with a command like <i>docker scout quickview nginx:latest<\/i>. The results will tell you how many vulnerabilities have been discovered in the image, and you can decide if you want to attempt to mitigate the problems or find a different image to use.<\/p>\n<p>Remember: The security of your container deployments lives and dies on a foundation of secure images, so Docker Scout will be a crucial component in your workflow.<\/p>\n<p><b><i>Subscribe to TechRepublic\u2019s <\/i><\/b><a href=\"https:\/\/www.youtube.com\/channel\/UCKyMiy1zmJ7aZ8aP6DLZLIA\"><b><i>How To Make Tech Work on YouTube<\/i><\/b><\/a><b><i> for all the latest tech advice for business pros from Jack Wallen.<\/i><\/b><\/p>\n<p> <!-- default newsletter at the end --> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this TechRepublic How to Make Tech Work tutorial, Jack Wallen shows you how to add the Docker Scout feature to the Docker CLI. [embedded content] You might have heard of Docker Scout, which is an image analyzer that ships with Docker Desktop. This tool makes it easy for developers to view vulnerabilities found in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":95127,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,783,315,56,177,287],"tags":[],"class_list":["post-95126","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-cloudsync","category-containers","category-cybersecurity","category-open-source","category-security"],"_links":{"self":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts\/95126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95126"}],"version-history":[{"count":0,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts\/95126\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/media\/95127"}],"wp:attachment":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}