Actually it seems like another user has already hit this issue: How to deploy official eclipse-mosquitto container on a raspberry pi as a service in a docker compose file? .
The fix is to specify the architecture in your Dockerfile: arm32v6/eclipse-mosquitto:latest
1 Like