diff --git a/README.md b/README.md index d625df5..612cbf6 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,15 @@ To analyze a Docker image simply run dive with an image tag/id/digest: dive ``` +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 + +# for example +dive nginx:latest +``` + or if you want to build your image then jump straight into analyzing it: ```bash dive build -t .