Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Windows container named pipe issues

Open
#70 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
70/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, node.js, typescript
Domain
devtools

Research direction

Start by comparing the DOCKER_HOST values in ~/.docker/config.json and the desktop-windows context meta.json, then trace how fromDockerConfig() passes the named-pipe host to systemPing(). Reproduce the failure with the npipe://// prefix and confirm that systemPing() succeeds using the Docker Desktop Windows engine configuration.

Written by the indexing model from the issue text.

Description

Docker Desktop provides npipe:////./pipe/dockerDesktopWindowsEngine as the DOCKER_HOST in the desktop-windows context, which is automatically set in config.json, but this causes issue when attempting to run systemPing() from a client initalized using fromDockerConfig() as the sdk doesn't like the npipe://// prefix.

  [cause]: Error: connect ENOENT ////./pipe/dockerDesktopWindowsEngine
      at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1645:16)
      at PipeConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
    errno: -4058,
    code: 'ENOENT',
    syscall: 'connect',
    address: '////./pipe/dockerDesktopWindowsEngine'
  }

I did confirm that if I manually set DOCKER_HOST as npipe://./pipe/dockerDesktopWindowsEngine, it will fix the issue and systemPing() does show '1.53'.

Relevant files for me were ~\.docker\config.json and ~\.docker\contexts\meta\20cca48ece26c362e388a0f192667c1ed683f9fa5f4425a88d4fea84e001311e\meta.json

Dominant language
TypeScript
Stars
107
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/node-sdk

All issues in docker/node-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.