I’m using the swarm mode on two raspberry pi. I have built my own container. This container run well on the manager but is rejected on the worker.
$ docker service create --name owncloud --replicas 1 --publish 80:80 user/owncloud /usr/sbin/apache2ctl -D FOREGROUND
My cluster is very simple:
user@rpi2:~ $ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
7ne41oets68npneonenj7hsf7 rpi1 Ready Active
be7niskqiaazao27xwt5n1kwx * rpi2 Ready Active Leader
The following screens are performed using a visualizer container for the swarm (https://github.com/ManoMarks/docker-swarm-visualizer):
Does the swarm mode give some tools/ logs for this kind of problem ?