Get a proper electric fence charger. One for livestock. Very easy to run an extension cord out to it and keep it plugged in. Not sure if the solar ones have as much voltage but make sure it is at least 5000 volts. Get enough aluminum wire to go around your run at least 4 times+. You should have a min of 4 spaced strands to ward off dogs and other predators. This is the best you can do. The dog will be back the second it gets out again.