I’m using docker-machine (OpenStack) to provision a swarm-master (using a token).
I’m then doing the same to provision a swarm node, but I can see in the log that it does an i/o timeout on:
level=error msg="Post https://discovery-stage.hub.docker.com/v1/clusters/my-tocken-goes-here?ttl=60: dial tcp 22.214.171.124:443: i/o timeout
Because I’m behind a corporate firewall, I use --engine-env to pass http_proxy and https_proxy during the docker-machine create. I can validate this on both master and node1, by issuing a docker run hello-world.
More surprising, I can do a wget on https://discovery-stage.hub.docker.com/v1/clusters/my-tocken-goes-here so it gets there.
So I’m confused, of what the i/o timeout could be.
Any idea on how to troubleshoot this?