From d11a18a6530e608fe871ad6e33ba61a0618a0125 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 8 Apr 2022 11:27:30 +0200 Subject: [PATCH] Update readme and make it clear that python 3.10 is needed --- README.md | 14 ++++++++++++-- scanner.py | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a6972d5..6fb68f3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ -# invent +# Invent -A dead simple docker image scanner \ No newline at end of file +Invent is a dead simple docker image scanner. It will try to scan one or more docker image that it can reach with docker pull and output information about installed packages, operating system and docker inspect information. + +## Usage +``` + ./scanner.py --images debian:latest alpine:latest | jq . +``` + +The above command will download latest debian and alpine images from docker hub and scan them, and output the information in json format. + +## Requirements +The scanner needs python 3.10 and docker installed. diff --git a/scanner.py b/scanner.py index ff6a8de..7ab48b3 100755 --- a/scanner.py +++ b/scanner.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.10 import argparse import json import subprocess