Azure / ACS

Azure Container Service - Bug Tracker + Announcements
65 stars 27 forks source link

docker stack deploy requires API version 1.25 #120

Open dazinator opened 6 years ago

dazinator commented 6 years ago

Is this a request for help?: No


Is this a BUG REPORT or FEATURE REQUEST? Bug

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) Swarm

What happened:

Following the getting started guide, created a new swarm under the eastus region (I originally tried uksouth, but this failed, and on further investigation was due to the vm size not being available in that region on the free plan). At the step where you run docker stack deploy you get:

docker stack deploy requires API version 1.25, but the Docker daemon API version is 1.24

I originally raised this against the doc, but moved here as I thought more appropriate place.

https://github.com/MicrosoftDocs/azure-docs/issues/11380

Someone else has also reported the same problem a while ago, on stack overflow here: https://stackoverflow.com/questions/45609326/is-swarm-mode-going-to-be-supported-on-azure-container-service

What you expected to happen: As per document, I was expecting the deployment to succeed.

How to reproduce it (as minimally and precisely as possible): On windows 10, install docker ce (stable), and the latest azure cli, then following the getting started guide. Use eastus as the region and a free plan / subscription. When it comes to establishing the ssh tunnel, the documented command only works on linux, for windows use:

ssh -fNL 2375:localhost:2375 -p 2200 azureuser@FQDN
export DOCKER_HOST=localhost:2375

Anything else we need to know: