I just setup the docker swarm with toolbox. I can do
eval "$(docker-machine env swarm-master)"
without any issue but
eval "$(docker-machine env --swarm swarm-master)"
returns following error
Error checking TLS connection: Error checking and/or regenerating the certs: The
re was an error validating certificates for host “192.168.99.101:3376”: dial tcp
192.168.99.101:3376: connectex: No connection could be made because the target
machine actively refused it.
You can attempt to regenerate them using ‘docker-machine regenerate-certs [name]
Be advised that this will trigger a Docker daemon restart which will stop runnin
I think the problem is “192.168.99.101:3376”. It should be 2376 instead of 3376 but I do not know where the 3376 is generated. Can you please help me to locate the config so I can manually edit the config?
Thank you very much for your help!
Here is my environment
$ docker-machine version
C:\Program Files\Docker Toolbox\docker-machine.exe version 0.5.4, build 6643d0e