improve README with new docker run command
This commit is contained in:
parent
64880972b0
commit
b7d32324e6
@ -12,6 +12,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