Monday, August 21, 2023
HomeCloud ComputingLearn how to Add the Docker Scout Function to the Docker CLI

Learn how to Add the Docker Scout Function to the Docker CLI


On this TechRepublic Learn how to Make Tech Work tutorial, Jack Wallen reveals you how one can add the Docker Scout characteristic to the Docker CLI.

You might need heard of Docker Scout, which is a picture analyzer that ships with Docker Desktop. This instrument makes it straightforward for builders to view vulnerabilities present in Docker photos. Contemplating you do not need to deploy a container primarily based on a picture with quite a few vulnerabilities, this instrument needs to be thought-about a must-use.

Although Scout ships with Docker Desktop, it isn’t included within the Docker CLI – a minimum of not the group version of Docker. Luckily, we are able to add it with out an excessive amount of bother. Right here’s how.

I’m going to imagine you have already got the Docker runtime engine put in. With that out of the way in which, create the required listing with the command mkdir -p ~/.docker/cli-plugins.

After you’ve created the listing, obtain the required file with the command wget https://github.com/docker/scout-cli/releases/obtain/v0.15.0/docker-scout_0.15.0_linux_amd64.tar.gz. Unpack the file with the command tar xvzf *.tar.gz. Transfer the docker-scout file into the right listing with the command mv docker-scout ~/.docker/cli-plugins/. Give the file executable permissions with chmod +x ~/.docker/cli-plugins/docker-scout.

Now you can analyze a picture with a command like docker scout quickview nginx:newest. The outcomes will let you know what number of vulnerabilities have been found within the picture, and you’ll determine if you wish to try to mitigate the issues or discover a totally different picture to make use of.

Bear in mind: The safety of your container deployments lives and dies on a basis of safe photos, so Docker Scout can be an important part in your workflow.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the newest tech recommendation for enterprise execs from Jack Wallen.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments