With the release of Docker for Windows 10, more and more users are wanting to experiment, and many want to use Portainer as a UI to manage the Docker daemon.
Unfortunately, Docker to make exposing the Daemon externally all that straight forward, so I will show you how its done (note that I DO NOT recommend exposing the Daemon without any TLS authentication, you should always configure your Daemon with TLS to ensure only authorised people can manipulate your Docker Daemon):
First up, install Docker for Windows 10, and switch to Windows Containers (assuming thats what you want).
Start Docker, and then right click on the whale icon in your task bar and select "settings"
You can now see a tick box labelled "expose daemon on tcp://localhost:2375 without TLS. This may or may not be enabled, but if it is, dont be fooled, it still wont let you manage Docker remotely
Instead, you can only use the loopback address; which is really of no use.
So, go back into Docker Settings, and make sure that "expose daemon on TCP is NOT checked", then click on "Daemon"
Click on the switch "Basic" so that it switches to "Advanced"
Now, you need to make changes... edit the text area in the bottom so it looks like the pic below (note the addition of a "," after "false". Then click "Apply"
go back to the command prompt, and you can now query the daemon using the Hosts normal IP.
To ensure that you can access the daemon remotely, run the following command to update the windows firewall:
netsh advfirewall firewall add rule name="docker_daemon" dir=in action=allow protocol=TCP localport=2375
And to start Portainer for Windows on this environment:
docker run -d -p 8000:8000 -p 9000:9000 -v portainer_data:C:\data --restart=always --name=portainer portainer/portainer