Merge pull request #344 from ozbillwang/master
improve README with new docker run command
This commit is contained in:
commit
2db0aaa920
@ -13,6 +13,15 @@ To analyze a Docker image simply run dive with an image tag/id/digest:
|
|||||||
dive <your-image-tag>
|
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:
|
or if you want to build your image then jump straight into analyzing it:
|
||||||
```bash
|
```bash
|
||||||
dive build -t <some-tag> .
|
dive build -t <some-tag> .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user