can I used %100 docker running on windows 2016 for a swarm , will this work or is it still unsupported ?
You can currently create or join a swarm-mode cluster on Windows with v1.13 or v1.14/master, but overlay networking will need a future Windows update before it will work. Both Linux & Windows nodes can be in the same swarm.
@stefanscherer posted a working setup in Vagrant on GitHub https://github.com/StefanScherer/docker-windows-box/tree/master/swarm-mode . Check out the scripts for the basics but it works essentially the same way as on Linux -
docker swarm init,
docker swarm join
I am a litte confused about this , the new swarm the one that works with just a “swarm intit” I think this is called “swarm mode” , so this cluster here I did a docker info should work right ?
docker@docker-datacenter-demo-1:~$ docker info
Server Version: 1.12.3-cs4
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Network: bridge host null overlay
Is Manager: true
Task History Retention Limit: 10
Snapshot Interval: 10000
Heartbeat Tick: 1
Election Tick: 3
Heartbeat Period: 6 seconds
Expiry Duration: 3 months
this is what I a currently looking at
can you try
docker node ls? The new swarm mode in v1.13+ doesn’t show all nodes with
docker info, only the current one.
right on. I can see the nodes with “docker node ls” and they do not appear
correctly with UCP , this is expected behavior . I was looking only at UCP
and thinking it was not working
I am revising this issue with a vengeance what is the official way to do this ?
I am attempting to run in Azure a Swarm cluster that can run both Linux and Windows containers