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: A Docker Swarm Bramble on a ClusterHat
Then I wanted to install homebridge, following this guide: Homebridge on Raspberry Pi · homebridge/docker-homebridge Wiki · GitHub
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