mirror of
https://github.com/wagoodman/dive
synced 2026-03-14 14:25:50 +01:00
Add Podman support to dive instructions
Updated instructions to include Podman usage for diving into images.
This commit is contained in:
parent
d6c691947f
commit
aaeed20737
1 changed files with 4 additions and 1 deletions
|
|
@ -15,9 +15,12 @@ To analyze a Docker image simply run dive with an image tag/id/digest:
|
|||
dive <your-image-tag>
|
||||
```
|
||||
|
||||
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 <your-image-tag>
|
||||
|
||||
# for example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue