There are different "laws" and/or regulations all over the world. There is at least one online site I recently visited that breaks those down by country/region/state, etc. Some is sold as a bear deterrent and sprays out a strong stream quite a few yards. I think you really have to get them right in the eyes for it to work at all. When I was working with protection dogs I don't know if much of anything would have deterred them except for handler's command.
One big factor in success stopping any animal is the reason for the attack, fun, fear, territory, protection of "family" or young, etc. I'm not going to advise so I suggest doing a lot of research.
You might want to jog only in areas where you know other joggers/walkers/cyclist have no problems with loose dogs, even if you have to drive to get there.
Have to share a "picture" that really sticks in my mind. Many years ago, while at my Vet's office, located in an area of town where many dogs ran loose, a walking mail carrier came in the door. She had a shallow, sling pack on the opposite side of her hip to mail bag loaded with at least a dozen different canisters of sprays, pretty good sized canisters. In my mind I see more than a dozen but it's been a long time ago. There was no time for any discussion, other than "dogs". It was a pretty incredible sight. Wish I'd had a camera. This leads me to think she was using different "types" depending on the individual dog(s) and/or the type of threat she encountered.
When I was growing up one of the most incredible dogs lived in our neighborhood. A living legend. One of those you never forget and most stories about him not very exagerated. "No Brag; just fact, mam." Shep, a GSD/Collie mix, who "owned" a family, just down the street, who were very good friends of my family, adults and kids. Shep was definitely the alpha dog for blocks around (possibly the whole town) who ruled with a firm "hand" but rarely resorted to any violence. He was supremely intelligent. I never saw him act aggressivly towards any human and few animals, other than warning barks. Virtually all of the dogs in my town ran loose and there were few fences.
Shep accompanied our walking mail carrier for more than half of his daily route and then another dog took over for the rest of the route. As I recall this carrier never had any incidents with dogs during Shep's long life. Our town was pretty small and my father worked at the Post Office so I got to hear plenty of stories about Shep. Of course he and many other neighborhood dogs were a big part of our daily lives.
For jogging, if you don't have a proven dog, maybe you could work something out with a neighbor and borrow a dog. Good for you and for your neighbor and dog. I, personally, would not use any dog but one that is well socialized and obedience trained and is physically suited for jogging.
gg=alice