A father-of-two began "snarling and hissing" at gardai and tried to get out of a patrol car after he was arrested for a drunken disturbance.
Miroslav Horvath (35) was given a two-month suspended sentence by a judge who described his actions as "quite violent".
Judge David McHugh also fined him €200 at Blanchardstown District Court.
Horvath, of Fairhill House, Clonsilla, admitted public drunkenness and breach of the peace at Blakestown Road, Blanchardstown, last December 18.
Gardai saw him walking unsteadily on the footpath. He became aggressive and abusive.
When he was arrested, Horvath began snarling and hissing and tried to get out of the car.