Docker version: 1.13.1
Docker toolbox: 1.13.1a
Windows 7
After installing docker toolbox on windows 7 and using docker machine to create a swarm master and nodes, I am then not able to deploy.
Here are the steps - the following all work fine:
$ docker-machine create --driver virtualbox --swarm-image "swarm:latest" --swarm-master swarm-master
$ docker-machine create --driver virtualbox --swarm-image "swarm:latest" --swarm swarm-worker1
$ docker-machine create --driver virtualbox --swarm-image "swarm:latest" --swarm swarm-worker2
and I can ssh to the vms ok.
However, when I try and deploy the stack, docker complains…
$ eval $(docker-machine env swarm-master)
$ docker stack deploy --compose-file docker-stack.yml vote
time="2017-02-15T19:16:55Z" level=info msg="Unable to use system certificate pool: crypto/x509: system root pool is not available on Windows"
This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
I’ve tried turning on debug logging and using --tlsverify, -H, --tlscert explicitly, but no joy either. Any clues as to what is wrong here? Thanks