How to programmatically connect to Docker for Windows

Hello. I am trying to connect to my local Docker engine using some docker client libraries like Docker.DotNet. I am using Docker for Windows 17.03.0-ce-win1.

The problem is that, I cannot find a way to construct the configuration needed to connect to the local default engine. I tried docker-machine ls but the result is empty.

On Windows, the default endpoint is npipe://./pipe/docker_engine, have you tried that?

npipe://./pipe/docker_engine does help. Thanks :slight_smile: