Skip to content

Instantly share code, notes, and snippets.

@renatomefi
Created September 17, 2018 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renatomefi/2f22ce3541b9286a7df256f515397df1 to your computer and use it in GitHub Desktop.
Save renatomefi/2f22ce3541b9286a7df256f515397df1 to your computer and use it in GitHub Desktop.
A docker-compose file for CoreOS Clair Scanner
version: '3.2'
services:
postgres:
container_name: clair_postgres
image: arminc/clair-db:latest
restart: unless-stopped
environment:
POSTGRES_PASSWORD: password
clair:
container_name: clair_clair
image: arminc/clair-local-scan:v2.0.4
restart: unless-stopped
depends_on:
- postgres
ports:
- "6060-6061:6060-6061"
links:
- postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment