I used to have troubles with dogs while riding my bike. After I caried a pepper spray I did not have any problem with dogs any more. Dogs knew that I had confedences and ready to attack them. I had one rottweiler running home when I scolded at him with a pepper spray in my hand.