ERROR: Service 'mosquitto' failed to build: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:62343->[::1]:53: code example
Example: auth.docker.io on 192.168.65.1:53: no such host
chick your internet connection
turn off the firewall