Skip to main content

A toolset for inspecting, querying, and curating containers

Project description

https://anchore.io/service/badges/image/f017354b717234ebfe1cf1c5d538ddc8618f3ab0d8c67e290cf37f578093d121

Anchore

Anchore is a container inspection and analytics platform to enable operators to deploy containers with confidence. The Anchore toolset in this repository provides the ability to inspect, reason about, and evaluate policy against containers present on the local Docker host.

To get started on CentOS 7 as root:

  1. install docker (see docker documentation for CentOS 7 install instructions)

https://docs.docker.com/engine/installation/linux/centos/

  1. install some packages that full functionality of anchore will require

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

yum install python-pip rpm-python dpkg

To get started on Ubuntu 15.10/16.04 as root:

  1. install docker engine >= 1.10 (see docker documentation for Ubuntu 15.10/16.04 install instructions)

https://docs.docker.com/engine/installation/linux/ubuntulinux/

  1. install some packages that full functionality of anchore will require

apt-get install python-pip python-rpm yum

Next, on either distro:

  1. install Anchore to ~/.local/

cd <where you checked out anchore>

pip install --upgrade --user .

export PATH=~/.local/bin:$PATH

  1. run anchore! Here is a quick sequence of commands to help get going

anchore --help

docker pull nginx:latest

anchore feeds list

anchore feeds sync

anchore analyze --image nginx:latest --imagetype base

anchore audit --image nginx:latest report

anchore query --image nginx:latest has-package curl wget

anchore query --image nginx:latest list-files-detail all

anchore query --image nginx:latest cve-scan all

anchore toolbox --image nginx:latest show

For more information, to learn about how to analyze your own application containers, and how to customize/extend Anchore, please visit our github page wiki at https://github.com/anchore

Manual Pages

Man pages for most of the anchore commands are available in: $anchore/doc/man, where $anchore is the install location of the python code for your distro (e.g. /usr/local/lib/python2.7/dist-packages/anchore for ubuntu). To install them, copy them to the appropriate location for your distro. The man pages are generated from –help and –extended-help options to anchore commands, so similar content is available direclty from the CLI as well.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anchore-1.1.3.tar.gz (118.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anchore-1.1.3-py2-none-any.whl (184.9 kB view details)

Uploaded Python 2

File details

Details for the file anchore-1.1.3.tar.gz.

File metadata

  • Download URL: anchore-1.1.3.tar.gz
  • Upload date:
  • Size: 118.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for anchore-1.1.3.tar.gz
Algorithm Hash digest
SHA256 df2c5ed0e237780652c365010f4f8653ea0050792b3c455f5901893b191d750d
MD5 a1f01c819901d3216cd193893ff542cc
BLAKE2b-256 783be91b34bdf191e8096fa4cc4fff8cb2d72cf62959c58341ed6999e6db2cd4

See more details on using hashes here.

File details

Details for the file anchore-1.1.3-py2-none-any.whl.

File metadata

File hashes

Hashes for anchore-1.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 73b04e0e5434916b1d61387eabb7d7fc4587a241afb84d6bd17b14a95d0500e2
MD5 3f7ca56c389ab4da5d0e84c24056a03e
BLAKE2b-256 b8aba556427adcab014616a2d7da81361832a30dabfc875a3ec00625d8003859

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page