Skip to content

Commit dcc15b2

Browse files
committed
changes made
1 parent df0448f commit dcc15b2

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

README.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,31 +64,24 @@ bash uninstall.sh
6464

6565
This removes the `~/.local/bin/cvecli` launcher, removes the Docker alias from your shell startup files, and cleans the PATH line if it was added for the local install. It does not delete the repository folder or `myenv`.
6666

67-
## Docker Setup
68-
Build and run the CLI with Docker in one line:
67+
## Local Docker Testing
68+
If you want to test the Docker image locally instead of using the prebuilt GHCR image, build it once with:
6969

7070
```bash
71-
docker build -t cvecli . && docker run --rm -it cvecli
71+
docker build -t cvecli .
7272
```
7373

74-
Use the prebuilt image from GitHub Container Registry:
74+
Then run it with:
7575

7676
```bash
77-
docker run --rm -it ghcr.io/debaa17/cve-scanner-cli:latest
77+
docker run --rm -it cvecli
7878
```
7979

80-
The GitHub Actions workflow publishes `latest` on pushes to `main` and publishes version tags when you create releases like `v1.0.0`.
81-
82-
Run a direct CVE lookup without entering interactive mode:
83-
84-
```bash
85-
docker build -t cvecli . && docker run --rm cvecli --id CVE-2025-55184
86-
```
87-
88-
Run a keyword search:
80+
Or pass arguments directly:
8981

9082
```bash
91-
docker build -t cvecli . && docker run --rm cvecli --keyword wordpress
83+
docker run --rm cvecli --id CVE-2025-55184
84+
docker run --rm cvecli --keyword wordpress
9285
```
9386

9487
## Usage

0 commit comments

Comments
 (0)