summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Goodman <wagoodman@users.noreply.github.com>2023-07-06 10:37:16 -0400
committerGitHub <noreply@github.com>2023-07-06 10:37:16 -0400
commit2db0aaa920707250c55ba1b272f675df4c62d139 (patch)
treee77e2868e883a00644d21cb23baff34c98736b50
parenta95e89966362e974a4d4d592610ad020dc5ffab9 (diff)
parentb7d32324e6f1bcc10df6a9b94ea5866bd77de2b3 (diff)
Merge pull request #344 from ozbillwang/master
improve README with new docker run command
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 752c9bc..f4af5fc 100644
--- a/README.md
+++ b/README.md
@@ -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> .