99.9% of dogs are fine. It’s the idiots they live with that cause the issues. For the remaining 0.1% they’re just born a wrongun. Unfortunately it’s often hard to tell until it’s too late. A bit like people I guess.
FWIW the only dogs that I put my bike between them and I if I encounter them whislt out riding are spaniels and scotty dogs. I’ve been bitten by one of the latter twice.
Now, cats on the other hand. I’ve had three and have loved each of them dearly but without exception each of the fury maniacs has at some point, and quite often more than once, turned round to it’s loving owner and engaged in a pretty serious mauling.
Report it if you feel the need but get down to A&E for a jab.