Many years ago I used to jog on the rural roads in NC. I always carried a rock to scare off dogs that would sometimes come out to far in the road to protect their property. One day however, I was surrounded by about six dogs and since I only had one rock I faked it. They didn’t move, so I picked out the obvious leader and put my best fastball right into his side. He did not yelp, only let out some air, but it was enough to break the circle and I escaped. I went home and got my handgun, hopped on my bike in effort to kill at least the leader, but they were gone. Subsequently, I replaced the jogging rock with the jogging gun but never saw them again.
You were in grave danger when they surround you. This is wolf pack mentality by the dogs. Do not take a rock to a fight with a pack of dogs. Although I like large weapons they are a pain in the ass if you are jogging. Consider a small compact 9mm semiautomatic.
Dogs sense and smell fear and this makes them prone to attack. The fact you have a weapon alters the way you project and smell. The dogs will know you probably should not be screwed with. If no alternative, shoot the leader of the pack first and then the rest until they flee. They will probably flee after you pick off the leader.
I am a dog lover and always have one. He does not roam free. I would never have an aggressive dog. My dog would not bite you unless I was under threat.