Hello there!
I need your help: I set up a ClusterHat on an Pi3 with two Pi Zeros and configured it as a swarm, following this guide: http://niels.nu/blog/2017/docker-swarm-bramble-raspberry-clusterhat.html
Then I wanted to install homebridge, following this guide: https://github.com/oznu/docker-homebridge/wiki/Homebridge-on-Raspberry-Pi#2-install-docker-compose
And then I ran into problems: docker told me, that the docker-compose.yml isn’t ready for swarm.
I found out, that docker-compose in version 3 can handle a swarm, but the guide uses version 2.
What can I do now? Rewriting docker-compose.yml? Docker said something about “docker stack deploy”, but I don’t know what to do:
docker-compose up -d
WARNING: The Docker Engine you’re using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, usedocker stack deploy
.
Greets! Nils