I bicycle ride about 5-7 kilos almost every night.....I can encounter 5 to 20 dogs.....I buy dog treats from Lazada that I carry in my pocket.....On my route I run into the same ones.....
I've made some friends along the way = have 2 dogs I've taught tricks to & 1 Bangkeaw dog whose owner moved away and left with an empty house....If I see him I'll whistle & he'll follow me home and I'll feed him, brush him down, and chat with him for awhile.... He'll often sit on my lap when I sit on the front step & has jumped up in my arms for attention.....Then he goes back to guard "his" house, where he was abandoned.....
For the dogs that have proved aggressive - 2 - I just pass by because they will attack other dogs while I'm giving treats....After awhile the aggressive ones just started ignoring me.....
However, there is one dog the will chase and bite at my foot .... Treats didn't work, stopping & fronting didn't work, shouting didn't work....
I took a squirt bottle and filled with half half with water & lemon juice.....2 times he's attacked & 2 shots stinging in his eyes sends him cowering off about 20 feet away..... He's now afraid to approach..... I've used this on a couple of others & now I'm also on their ignore list....
Works a charm & educates them without touch or harm or being within snapping distance....
I imagine a 16oz coke bottle with a hole in the cap would squirt just as well and stop them in their tracks too.....