-
Notifications
You must be signed in to change notification settings - Fork 43
docker: 'scan' is not a docker command.
on the latest Docker Engine
#164
Comments
The scan plugin is packaged in a separate package ( |
Hi @thaJeztah, you're right, I misunderstood that I thought it just need the latest Docker engine installed 😅 |
Confirmed that install |
Looks like the package is also not mentioned in the install process unless I missed something. |
Good point, yes we need to update the docs; we made changes to the install script on get.docker.com to automatically install it. For RPM-based distros (CentOS, Fedora), the plugin is always installed (as RPM's don't have a concept of "optional" dependencies). For deb based distro's, the plugin is installed as an optional dependency, but currently is not yet available for non-x86 platforms (so we'll have to take that into account for the install docs). |
Looks like I can:
Does above looks correct? |
For |
What about Amazon Linux AMI instances?
just returns
|
Docker currently doesn't provide packages for Amazon Linux (the docker packages for amazon linux are built by Amazon); probably best way is to open a feature request with Amazon, or download a static binary from the github releases on this repository, as outlined in the readme; https://github.com/docker/scan-cli-plugin#on-linux |
Any thoughts on how to get scan on a dind container? |
for docker in docker, You can download a binary from the github releases page on this repo; https://github.com/docker/scan-cli-plugin/releases/tag/v0.8.0 |
Hi @thaJeztah, I'm preparing the PR we mentioned before, just want to make sure that the x86 should actually be amd64, right? I checked the packages here: https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/, looks like amd64 is the only arch having the package, and there is no any package for i386 arch. |
cc docker#164 @thaJeztah Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
Though some facts had been changed, @thaJeztah do you have a moment to take a look, and help review #171? Thanks. |
sudo zypper in docker-scan-plugin |
am having issues too. |
Description
docker: 'scan' is not a docker command.
on the latest Docker Engine.According to the release notes, I believe that I'm using the latest version - 20.10.7, which should have the
scan
feature.(https://docs.docker.com/engine/release-notes/)
(My Docker Engine was install using the convenience script)
Steps to reproduce the issue:
docker scan
command with any Docker imageDescribe the results you received:
Describe the results you expected:
Something like https://github.com/docker/scan-cli-plugin#scanning
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
It's on a VMware virtual machine, though I think it's not related.
The text was updated successfully, but these errors were encountered: