Have recently setup Docker Cloud swarm mode on Azure. My local Mac shows Docker Version 17.12.0-ce-mac55 (23011). I am logged in with the same account i use on docker cloud
I setup my swarms on azure
docker-machine create -d azure
–azure-subscription-id $AZURE_SUBSCRIPTION_ID
–azure-resource-group my-resource-group
–azure-availability-set my-availability-set
–azure-docker-port 2376
–azure-vnet my-vnet
–azure-subnet my-subnet
–azure-location UKSouth
–azure-ssh-user myuser
–azure-open-port 80
–azure-size “Standard_B1s”
mynode-1
Initialised my swarm using eth0
docker swarm init --listen-addr 192.168.0.X:2377
joined workers to the swarm
docker swarm join --token XXX 192.168.0.X:2377
used docker login to login on the nodes
deployed my private repo on the manager node
docker service create --with-registry-auth --replicas 1 -p 80:80 --name myapp --update-delay 10s --update-parallelism 1 myuser/myprviaterepo
everything fine
docker-manager ls showed
mynode-1 - azure Running tcp://XXX.XXX.XXX.XXX:2376 v18.02.0-ce
port 2376 is open on azure
service all deployed and working
i then wanted to connect my swarm to the Bring your own swarm feature on Docker Cloud.
ran the command it suggested on docker cloud on the manager node
docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock dockercloud/registration
it downloaded the server proxy repo and prompted to login to my cloud account
docker service ls shows the proxy service deployed
XXX dockercloud-server-proxy global 1/1 dockercloud/server-proxy *:2376->2376/tcp
and i can now see my swarm on docker cloud with a green light and it offers that others can connect to it using
docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST dockercloud/client myuser/myswarm
however when i do a docker-machine ls on my mac i now see
mynode-1 - azure Running tcp://XXX.XXX.XXX.XXX:2376 Unknown Unable to query docker version: Get https://XXX.XXX.XXX.XXXX:2376/v1.15/version: x509: cannot validate certificate for XXX.XXX.XXX.XXX because it doesn’t contain any IP SANs
was displaying version fine right up to the point i used the BYOS feature on docker cloud
any suggestions?