Skip to content

Diving into image fails on Windows 10 with Rancher Desktop #605

@OldrichDlouhy

Description

@OldrichDlouhy

What happened:

Inspecting locally build image "redis-test" via dive redis-test fails with following output:

Image Source: docker://redis-test
Extracting image from docker-engine... (this can take a while for large images)
cannot fetch image
error during connect: Get "http://%2F%2F.pipe%2Fdocker_engine/v1.48/images/redis-test/json": open //.pipe/docker_engine: The filename, directory name, or volume label syntax is incorrect.

Tested also identifying local container with the image Id (dive 86654ffa569f) with same result.

What you expected to happen:

Dive will open and inspect the image.

How to reproduce it (as minimally and precisely as possible):

Assuming Rancher Desktop is installed with dockerd as container engine.

  1. Create local docker image docker build -t image-name .
  2. Install Dive winget install --id wagoodman.dive
  3. Run dive to inspect local image dive image-name

Anything else we need to know?:

  • Dive was installed via winget
  • Running dive via docker docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock docker.io/wagoodman/dive:latest redis-test works correctly

Environment:

  • Dive version: 0.13.1
  • OS version: Windows 10 22H2 19045.3930
  • Rancher Desktop 1.18.2, container engine dockerd (moby)
  • Docker version: 27.5.1-rd, build 0c97515

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions