Is Docker Swarm supported on Docker for Mac?
When I try to use Docker Swarm I get an error:
$ docker swarm init
docker swarm init is only supported on a Docker cli with swarm features enabled
I need Docker Swarm on my local Mac to test Docker features which are only available for Docker Swarm (e.g. Config Maps).
This question is also asked in the docker community forum. But no answer is provided there.
It should work in current versions of Docker for Mac. Check the "About Docker" view to make sure you have a version that supports it (Docker engine >= 1.13 or Docker CE).
It appears right now that you need Kubernetes support turned off (see forum post), so check that in the settings as well.