Skip to content

Default docker host was set to wrong value when running under windows #649

Description

@aDisplayName

What happened:
Default docker host value doesn't work with Rancher Desktop.

What you expected to happen:
When running Rancher Desktop with dockerd, dive can access the docker engine

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

  • Install Rancher Desktop 1.20 with dockerd as container runtime in Windows with WSL integration.
  • Install dive using winget
    winget install --id wagoodman.dive
    
  • Run dive
    PS C:\Users\LMa2> dive alpine:3
    Image Source: docker://alpine:3
    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/alpine:3/json": open //.pipe/docker_engine: The filename, directory name, or volume label syntax is incorrect.
    

Anything else we need to know?:

Environment:

  • Windows 11
  • Docker version 28.3.3
  • Rancher Desktop 1.20

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