Skip to content

Commit

Permalink
Merge pull request #344 from ozbillwang/master
Browse files Browse the repository at this point in the history
improve README with new docker run command
  • Loading branch information
wagoodman authored Jul 6, 2023
2 parents a95e899 + b7d3232 commit 2db0aaa
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
Expand Up @@ -13,6 +13,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> .
Expand Down

0 comments on commit 2db0aaa

Please sign in to comment.