When I worked at a preschool, I learned that the best to win a fight with a toddler is to avoid it. As you could probably teach me: discipline is simply guiding someone to the behavior that is desired. With that in mind, what I found most successful in the 3 year olds was: make discipline fun; make it a game.
Give them times when their behavior must be limited (for safety sake) and times where it's quite the opposite. For instance, in the house use the words "Inside voice and walking feet only"; then take her to the park and while raising your voice -in play!- 'yell' "Outside voice and running feet only". Then, when you are in your yard try "Outside voice and WALKING feet only". Finally start playing 'Red light, yellow light, green light". Teach her that Red Light means you have to freeze; stop; be a statue; be silly, even and teach her to pose when she hits a Red Light. Yellow Light means she has to slow down and walk only. You can make Yellow Light fun and silly sometimes by teaching her to turn and walk backwards, or walk and sound like an animal. Green Light means 'Go, girl, go! Is that as fast as you can go? You can go faster than that! Oh, you're a blur!! Where'd she go? I lost her!"
Now, when it's NOT important make it a fun game as you walk down the sidewalk as you vary between the Lights. Oh, if she goes to far and you need her to head back toward you teach her to 'Back the Truck Up' and BEEP, Beep, beep like a big truck sounds like when it's backing up. You can call it "Back up; Back the Truck Up; or White Lights (like when you put the car in reverse).
Just an alternative that will take the edge off; and take the fight away. Be sure to allow for as many 'green light' opportunities as possible.
You can also give her opportunities to run by teaching her that she can run to the next lamp post; then turn around and run back and so forth.
I hope this helps.
ps. to this day, my 15 year old will occasionally get out the front door and jump down the stairs yelling and running. If you ask him what he's doing he'll laugh and say 'outside voice and running feet, time!' *big grin*