I am encountering this issue : /docker-entrypoint.sh: line 13: exec: image: not found
when trying to add an image to anchore/engine-cli on docker.
Specifically I run :
docker run anchore/engine-cli image add XXXXX:"image-name"
Could anyone help me on this ? I am running docker desktop on a Windows 10
Thanks !
2
Answers
If you check the documentation of the official anchore/engine-cli image, to use the container you need to run:
Then, from the shell you can use the
anchore-cli
command and add a new image with:That image on Docker Hub contains documentation for how to use it:
So you should be able to run commands like:
E.g.
However, I’d note that this image was last pushed 2 years ago, and the GitHub repo for the project makes no mention of docker images pushed to GHCR or Docker Hub. All installation options supported by the project involve installing it locally on your machine.