wagoodman / dive

A tool for exploring each layer in a docker image
MIT License
44.55k stars 1.69k forks source link

dive is not running #445

Open steffenhohn opened 1 year ago

steffenhohn commented 1 year ago

When I would like to start

dive [something]/[something]:[tag]

on an image that is available locally but also in one of my public docker repos the error

cannot fetch image Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

occurs.

I use docker desktop 4.18.0 (104112) on a Mac M1 notebook (13.3.1 (22E261)).

mark2185 commented 1 year ago

Have you tried using docker to run dive?

From the README.md:

docker run --rm -it \
      -v /var/run/docker.sock:/var/run/docker.sock \
      -v  "$(pwd)":"$(pwd)" \
      -w "$(pwd)" \
      -v "$HOME/.dive.yaml":"$HOME/.dive.yaml" \
      wagoodman/dive:latest <some-image>
steffenhohn commented 1 year ago

Thanks, that works perfect! Great tool!