dive icon indicating copy to clipboard operation
dive copied to clipboard

dive is not running

Open steffenhohn opened this issue 2 years ago • 2 comments

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)).

steffenhohn avatar Apr 19 '23 15:04 steffenhohn

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>

mark2185 avatar Apr 19 '23 15:04 mark2185

Thanks, that works perfect! Great tool!

steffenhohn avatar Apr 19 '23 18:04 steffenhohn