1: a hole for emptying or filling a cask
Meanwhile, the gasket attached around the bunghole to create a seal that keeps out oxygen (an enemy of fresh beer) also creates the pressure to push beer out of the barrel and into the tap line
Ok, the second meaning is exactly what you thought.