With a dog like this, I'd probably just muzzle it and get it over with. If I am unable to muzzle a dog to medicate it's ears and so on, I try things like really high value delicious treats to make the ear handling less stressful. If the dog has a mouthful of delicious treats and I can sneak the medication in the ears, then I can back off before it's got time to snap.
I think it helps that I've had a LOT of years of working with a LOT of different animals, and can be super sneaky and fast with some of that stuff.
I do not give my dogs treats, but they love a ball, hose or rope . When I have to give them medicine for their own good I just do it! Now take my 3 soon to be 4 year old son to dentist , I would pay you and give you a medal LOL
Will he let you pet him and rub his ears? He might if they are itchy. Keep the medicine bottle in the other hand and try making it a quick "extension" of the ear rub.
Also , no one (including me) likes anything ice cold put in their ears. Usually, ear medicine comes in a small bottle. Try putting it in your front pants pocket prior to applying it. Walk around awhile doing other things and it will warm up. At least warmed up, it will not be such a shock to your dog.
Lots of patience! Don't think "I have to give the medicine right now." Keep it close by and warm, like in your pocket, and wait for your opportunity.
Will the dog snuggle with you yet? If so, then let the dog sit on the couch with you while you're watching a movie, massage his ears so he's not startled when you slip in the drops. Even then, doesn't expect to "sneak" in both ears at once. With my Weimaraner, I have to wear her out out with playtime, and then we get to snuggle time, then I'll casually handle her paws, and sneak in a couple nail trims before she wises up. I don't try to all nails in one sitting. We spread them out over the whole week. You could try one ear in the morning and the other ear in the evening.
And definitely keep a treat to hand over immediately, because the instant they realize they've been "violated" they need the distraction and deserve the reward!