The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

400715 (1) [Avatar] Offline
#1
When trying to run technique Open your Docker Daemon to the world using Docker and windows 10, I was not able to do it.

1. The command for stoping docker service should be different for case of Kinematic and windows
2. Command docker -d -H tcp://0.0.0.0:2375 gives following output

flag provided but not defined: -d
See 'C:\Program Files\Docker Toolbox\docker.exe --help'.
aidanhs (25) [Avatar] Offline
#2
Hi

Unfortunately the steps you need to go through to expose a port to the outside world are very different for non-Linux operating systems. I'll have a look at making this clearer in the technique.

For Windows, take a look at the instructions for exposing ports on Windows in appendix B - your Docker daemon should already be exposing itself on port 2375 of your vm (you can tell by using docker-machine env) so all you need to do is install socat with cygwin and follow the port exposing instructions as normal.

Aidan