Five of my six dogs all wanted to chase and, I presume eat, my chickens from the first day I got them. All, except for Jake, my avatar. Two years later, only one dog chased and tried to catch my chickens! She was my soul-mate dog, GiGi. Gigi is gone now, to my sorrow. My chickens can free range with my dogs, the only thing is, the dogs try to eat the veggies I give the chickens. It is very funny to watch a dog spit out a tomato! It did take work to get the dogs to understand not to go after the chickens. I did not hit them, all I did was say "No, bad dog" and say the word leave. (Much repetatition) It took time, but I can leave my dogs with my chickens. Well that is before I realized I have coyotes. Chickens are now under 24/7 run lock down....
(not sure if your dog still tried with the electric line though) Good luck wih this!