I am actually a janitor at an airport and these have little hoses on the back that we just put into the drain in the janitor closet. They smell like rotten eggs and midew at the same time and are the single most disgusting thing I have ever had to clean.
Most of them have either a grate on top to prevent trash getting in or a separate chamber on the inside that filters out solids.
In Oregon, the brewery-public house license allows sale of open containers by the drink and sealed containers for off-premises sales, but only for drinks manufactured at that location.