question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On Windows npipe protocol support

See original GitHub issue

I suspect I know the answer to this but just wanted to confirm with you guys one way or the other. Trying to use npipe URL on windows 10 with docker throws the below exception. Is it possible to add support for this or is this currently being worked on by @marcuslinke and his work with unixsockets/jnr/etc.?

Caused by: com.github.dockerjava.api.exception.DockerClientException: Unsupported protocol scheme found: 'npipe:////./pipe/docker_engine'. Only 'tcp://' or 'unix://' supported.
        at com.github.dockerjava.core.DefaultDockerClientConfig.checkDockerHostScheme(DefaultDockerClientConfig.java:96)
        at com.github.dockerjava.core.DefaultDockerClientConfig.<init>(DefaultDockerClientConfig.java:82)
        at com.github.dockerjava.core.DefaultDockerClientConfig$Builder.build(DefaultDockerClientConfig.java:431)
        at com.github.dockerjava.core.DefaultDockerClientConfig$Builder$build$1.call(Unknown Source)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:44 (31 by maintainers)

github_iconTop GitHub Comments

2reactions
kadwanevcommented, Jul 24, 2017

This is currently a requirement to be able to use docker-java on Azure as a managed app service. +1

2reactions
gesellixcommented, May 12, 2017

I’m aware that a Netty implementation will look different. Yet, there are at least two different Docker/Npipe client implementations to get some inspiration:

Though I personally wouldn’t prefer Windows as dev platform, the necessary code to ease Windows devs working without additional setup is more or less the same like for Unix domain sockets. Maybe the recent changes on the Netty side for Unix sockets will help with the Named pipe, too?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[MS-WPO]: Named Pipes - Microsoft Learn
A named pipe is a logical connection, similar to a TCP session, between a client and server that are involved in a Common...
Read more >
Named Pipes that can be accessed anonymously
Named pipe for the Print Spooler service. EPMAPPER, End Point Mapper named pipe. LOCATOR, Remote Procedure Call Locator service named pipe.
Read more >
[MS-SMB2]: Executing an Operation on a Named Pipe
The client sends an SMB2 CREATE Request to open the named pipe "srvsvc". ... Specifies the Server Service Remote Protocol, which remotely ...
Read more >
Asynchronous RPC over the Named-Pipe Protocol - Win32 apps
If you use named pipes (ncacn\_np) as your transport protocol, you should avoid allowing a large number of idle pending calls on the...
Read more >
[MS-SAMR]: Transport - Microsoft Learn
This protocol uses the pipe name "\PIPE\samr" for the endpoint name ... This protocol MUST indicate to the RPC runtime that it is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found