A doser is a mechanism, usually attached to the front of a burr grinder, for putting coffee into an espresso portafilter basket. Ground coffee sits in the doser and is pushed out and into the portafilter by the pull of a lever. Dosers are designed to push out the same amount of coffee (typically 6-7 grams) every time the lever is pulled, but, in practice, this feature only works is the doser if full of grounds.