From aaeed2073742e71d01d52f346d58664e8503900c Mon Sep 17 00:00:00 2001 From: Tom Davidson Date: Sun, 2 Nov 2025 20:09:30 -0700 Subject: [PATCH 1/2] Add Podman support to dive instructions Updated instructions to include Podman usage for diving into images. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a97bdf42..3214d005 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,12 @@ To analyze a Docker image simply run dive with an image tag/id/digest: dive ``` -or you can dive with Docker directly: +or you can dive with Podman/Docker directly: ``` +alias dive="podman run -ti --rm -v /run/user/$(id -u)/podman/podman.sock:/run/podman/podman.sock -e DOCKER_HOST=unix:///run/podman/podman.sock docker.io/wagoodman/dive" + alias dive="docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock docker.io/wagoodman/dive" + dive # for example From 1fa21a4d9f1ff4f13de9cc4d085e09da64d4c88f Mon Sep 17 00:00:00 2001 From: Tom Davidson Date: Sun, 2 Nov 2025 20:10:22 -0700 Subject: [PATCH 2/2] Fix formatting of Podman alias command in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3214d005..ad95662f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ dive or you can dive with Podman/Docker directly: ``` -alias dive="podman run -ti --rm -v /run/user/$(id -u)/podman/podman.sock:/run/podman/podman.sock -e DOCKER_HOST=unix:///run/podman/podman.sock docker.io/wagoodman/dive" +alias dive="podman run -ti --rm -v /run/user/$(id -u)/podman/podman.sock:/run/podman/podman.sock -e DOCKER_HOST=unix:///run/podman/podman.sock docker.io/wagoodman/dive" alias dive="docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock docker.io/wagoodman/dive"