Skip to content

Commit

Permalink
improve README with new docker run command
Browse files Browse the repository at this point in the history
Bill Wang committed Mar 20, 2021
1 parent 6488097 commit b7d3232
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -12,6 +12,15 @@ To analyze a Docker image simply run dive with an image tag/id/digest:
dive <your-image-tag>
```

or you can dive with docker command directly
```
alias dive="docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive"
dive <your-image-tag>
# for example
dive nginx:latest
```

or if you want to build your image then jump straight into analyzing it:
```bash
dive build -t <some-tag> .

0 comments on commit b7d3232

Please sign in to comment.