I carry HALT pepper spray. I feel like the best way to confront an aggressive dog is to get off the bike keeping it as a barrier and using whatever means necessary to defend yourself. I do not recommend trying to outrun them. It's a good way to get hurt worse than a dog bite.