Origin of keg
Keg reaches English through Middle English, Old Norse, Proto-Germanic, German and Dutch. Keg today means “A round, traditionally wooden container of lesser capacity than a barrel, often used to store beer”.
Etymology of keg
From Middle English kag, from Old Norse kaggi (“keg”), likely a diminutive of Proto-Germanic *kagô (“bush, branch, stalk, stump”). Cognate with Icelandic kaggi (“keg; cask”), Norwegian kagg (“keg”), Swedish kagge (“keg”), Low German kag (“vessel; craft”), Dutch kaag (“vessel; craft”). Compare also English cag and chag. The modern form keg with /ɛ/ is due to a dialectal raising of /a///æ/ to /ɛ/ before velars (cf. fleg); the expected form is preserved in dialectal /kæɡ/, while /keɪɡ/ reflects further raising that occurred in some dialects.
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.