Skip to content

Instantly share code, notes, and snippets.

@WolfangAukang
Last active May 6, 2023 15:32
Show Gist options
  • Save WolfangAukang/3270393079ac0b948d32075ed127f610 to your computer and use it in GitHub Desktop.
Save WolfangAukang/3270393079ac0b948d32075ed127f610 to your computer and use it in GitHub Desktop.
arminc's Clair scan setup on docker-compose
version: '3.6'
services:
# Although the author recommends performing a link to reference this container as postgres,
# we could simply set the name as postgres. Also, link is a legacy flag.
postgres:
image: arminc/clair-db
clair:
image: arminc/clair-local-scan
depends_on:
- clair-db
ports:
- "6060:6060"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment