Sign inSign up

anchore/engine-cli

By anchore

•Updated almost 5 years ago

Image with the Anchore Engine CLI installed

Image
7

1M+

anchore/engine-cli repository overview

⁠Anchore Engine CLI Container

This image provides a simple way to interact with an Anchore Engine service installation.

For documentation on the CLI itself, see the CLI github⁠ and Anchore Engine⁠ project for information on installing and getting started with Anchore Engine.

⁠Environment Variables

  • ANCHORE_CLI_USER - The username for auth against your endpoint. Default = admin if left unset
  • ANCHORE_CLI_PASS - The user's password for the CLI_USER. Default = foobar if left unset
  • ANCHORE_CLI_URL - The url where the service API is available. Default = http://localhost:8228/v1/⁠ (path will typically be /v1/ typically).

⁠Using the Container

To use the container simply run: docker run -e ANCHORE_CLI_URL=<my engine endpoint>/v1/ -it anchore/engine-cli

From the shell you can now use 'anchore-cli': anchore-cli system status to get system status anchore-cli image list to list images anchore-cli image add <img> to add a new image for analysis anchore-cli evaluate check <img> to get the policy evaluation for an image.

⁠Tags

latest: Built from the latest released version of anchore-cli. (Dockerfile⁠) dev: Built from head of master branch. (Dockerfile⁠)

Tag summary

Content type

Image

Digest

Size

108 MB

Last updated

about 5 years ago

docker pull anchore/engine-cli