Last active
May 6, 2023 15:32
-
-
Save WolfangAukang/3270393079ac0b948d32075ed127f610 to your computer and use it in GitHub Desktop.
arminc's Clair scan setup on docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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