I recently installed Docker 1.12 on Windows 10 / Hyper-V and worked my way through the tutorials. Everything is running smoothly. I can push and pull images, etc…
But I can’t find a way to connect to its remote API. I need the API’s complete URL with port, so that I can use PhpStorm’s Docker management features.
Thanks a lot for your reply, but it does not seem to work this way. The command you gave me just gives me a quick stat overview of running containers, similar to the output of docker stats. Your command shows me for example that the container based on the nginx image has opened the ports 80/tcp and 443/tcp.
But I was under the impression that there is an remote API URL to which you can connect to via REST. That is the one I’m searching on my Windows machine.
Yes, that REST API is running on npipe:////./pipe/docker_engine - it’s using HTTP over a Windows named pipe, similar to how the UNIX socket works on Linux / OS X.
Ah, ok. Sorry, I was confused, because PhpStorm does not accept npipe:// as URL scheme for Dockers REST API URL. I’m going to report this back to the developers of the IDE, so they can think of something.