I know where you're coming from, and I reckon you have the law on your side: dogs need leashed in parks.
But that's hard to police. Plus, dogs biting people (or containers) is enough of a rarity that pointing out the law will only get you a row off owners more than anything else.