About a month ago I adopted a 4 year old terrier/Chihuahua mix. He is really sweet and friendly and completely submissive towards me and my family. He is also really friendly towards people and children. HOWEVER When ever he sees another dog he barks, growl, lunges and try to charge and attack the dog. My terrier dog does not even respond to my commands or disapproval and continues to try to get at the other dogs. What can I do? Is dog training gonna work? Or is this more of a socializing thing where I should bring to met more dogs because there have been times when other dog owners allowed there dogs to approach mine and then after like 5 minutes of interaction my dog seem to be able to relax a bit. We were even able to take a walk with the other dog no problem.

please help and give advice on what to do? Because it does not seem dog training is the correct way but instead dog interaction and socialization is the correct way. please give advice I really need help!!!!