All Projects → coreos → Analyze Local Images

coreos / Analyze Local Images

deprecated tool for interacting with Clair locally

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Analyze Local Images

Udocker
A basic user tool to execute simple docker containers in batch or interactive systems without root privileges
Stars: ✭ 802 (+6583.33%)
Mutual labels:  containers
Csp
The Cyber Security Platform MeliCERTes is part of the European Strategy for Cyber Security. MeliCERTes is a network for establishing confidence and trust among the national Computer Security Incident Response Teams (CSIRTs) of the Member States and for promoting swift and effective operational cooperation.
Stars: ✭ 23 (+91.67%)
Mutual labels:  containers
Trivy
Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues
Stars: ✭ 9,673 (+80508.33%)
Mutual labels:  containers
Aks Engine
AKS Engine: Units of Kubernetes on Azure!
Stars: ✭ 833 (+6841.67%)
Mutual labels:  containers
Pavlos
A light-weight container runtime for Linux with NVIDIA gpu support, allows developers to quicky setup development environments for dev and test. Pavlos can emulate any Linux rootfs image as a container.
Stars: ✭ 22 (+83.33%)
Mutual labels:  containers
Containers From Scratch
Writing a container in a few lines of Go code, as seen at DockerCon 2017 and on O'Reilly Safari
Stars: ✭ 839 (+6891.67%)
Mutual labels:  containers
Che
The Kubernetes-Native IDE for Developer Teams
Stars: ✭ 6,572 (+54666.67%)
Mutual labels:  containers
Lxc Pkg Ubuntu
LXC Ubuntu packaging
Stars: ✭ 11 (-8.33%)
Mutual labels:  containers
Cdk Gitlab Runner
Create Gitlab Runner via AWS CDK.
Stars: ✭ 23 (+91.67%)
Mutual labels:  containers
Docker Gitlab
Dockerized GitLab
Stars: ✭ 7,084 (+58933.33%)
Mutual labels:  containers
Sen
Terminal User Interface for docker engine
Stars: ✭ 835 (+6858.33%)
Mutual labels:  containers
Bane
Custom & better AppArmor profile generator for Docker containers.
Stars: ✭ 902 (+7416.67%)
Mutual labels:  containers
Subuser
Run programs on linux with selectively restricted permissions.
Stars: ✭ 842 (+6916.67%)
Mutual labels:  containers
Kismatic
Kismatic Enterprise Toolkit: Fully-Automated, Production-Grade Kubernetes Operations
Stars: ✭ 819 (+6725%)
Mutual labels:  containers
Linuxkit
A toolkit for building secure, portable and lean operating systems for containers
Stars: ✭ 7,166 (+59616.67%)
Mutual labels:  containers
Spec
Container Storage Interface (CSI) Specification.
Stars: ✭ 799 (+6558.33%)
Mutual labels:  containers
Kitura On Kubernetes
Develop a Full-Stack Swift application with a native iOS app and Kitura on Kubernetes
Stars: ✭ 24 (+100%)
Mutual labels:  containers
Brmgr
Manage bridge devices and provide DHCP and DNS services to connected interfaces.
Stars: ✭ 11 (-8.33%)
Mutual labels:  containers
Sdn Handbook
SDN网络指南(SDN Handbook)
Stars: ✭ 856 (+7033.33%)
Mutual labels:  containers
Ansible Role Docker
Ansible Role - Docker
Stars: ✭ 845 (+6941.67%)
Mutual labels:  containers

⚠️️ DISCLAIMER ⚠️️

This project is...

  • not actively maintained
  • not actively supported and is not guaranteed to be compatible with all versions of Clair
  • intended for local usage only and does not follow the best practices for production usage of Clair

analyze-local-images

This is a basic tool that enables quick analysis of local Docker images with Clair.

Install

First install Go and glide and then run the following commands:

$ git clone [email protected]:coreos/analyze-local-images.git $HOME/analyze-local-images-gopath/src/github.com/coreos/analyze-local-images
$ export GOPATH=$HOME/analyze-local-images-gopath
$ cd $HOME/analyze-local-images-gopath/src/github.com/coreos/analyze-local-images
$ glide install
$ go install github.com/coreos/analyze-local-images

Usage

Clair is a local process or inside of a container running on my current machine

analyze-local-images <Docker Image>

Clair is running inside of container on a local VM (e.g. Docker For Mac)

analyze-local-images -endpoint "http://<CLAIR-IP-ADDRESS>:6060" -my-address "<MY-IP-ADDRESS>" <Docker Image>

Clair needs filesystem access to the image files. If you run Clair locally, this tool will store the files in the system's temporary folder and Clair will find them there. It means if Clair is running in Docker, the host's temporary folder must be mounted in the Clair's container. If you run Clair remotely, this tool will run a small HTTP server to let Clair downloading them. It listens on the port 9279 and allows a single host: Clair's IP address, extracted from the -endpoint parameter. The my-address parameters defines the IP address of the HTTP server that Clair will use to download the images. With boot2docker, these parameters would be -endpoint "http://192.168.99.100:6060" -my-address "192.168.99.1".

As it runs an HTTP server and not an HTTPS one, be sure to not expose sensitive data and container images.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].