I built a small swarm for my IoT projects and unable to deploy that service:
sudo docker service create \ --name="mosquitto" \ -p 1883:1883 \ --mount 'type=volume,src=mosquitto_config,dst=/mosquitto/config,volume-driver=local' \ --mount 'type=volume,src=mosquitto_data,dst=/mosquitto/data,volume-driver=local' \ robotany/mosquitto-rpi
I get that error
1/1: no suitable node (unsupported platform on 2 nodes
When I run the same image as a container it is working properly.
If I inspect the service after that error I see that the architecture is set to
amd64, but the image is compiled for `armhf: https://hub.docker.com/r/robotany/mosquitto-rpi/
Who can help me out here? I cannot reproduce the error for other images like: https://hub.docker.com/r/lsioarmhf/mariadb/
Thanks in Advance!