Actually, I think it's German slang for "Drink, you fool!"
From All about beer:
"Bock" does mean "goat" in German and its not surprising that someone drinking this beer would feel a "kick" and make the verbal connection. Once this was done, a strong association formed between bock beer and the goat -- an association that continues even today.