The student, who gives drumming lessons to disabled children, became so violent he had to be pepper-sprayed and batonned before being arrested.
He had the case against him adjourned for a report from a restorative justice programme.
Price, from Rush, Co Dublin but with an address at Ardeevin Guest House, Swords, pleaded guilty to assaulting Garda Martin Mannion, public drunkenness, breach of the peace, obstruction and refusing to give his name on October 30.
He also admitted violent behaviour in Howth Garda Station on the same date.
Price had only one conviction, for a minor drugs offence.
He had struggled with an alcohol problem, had been drinking the night before the incident and took prescription medication on the day, his barrister said.
Judge Patricia McNamara at Dublin District Court adjourned the case to a date next year and said she would show leniency if the report was good.