In a continuous machine for filling containers (3) with a product, each container (3) is fed along a given path (P) in time with a relative metering device (28), which withdraws the product from a tank (20), feeds the withdrawn product into the container (3), and has a piston (63) moved with respect to a cylinder (39) by an actuating device (46) housed in a casing (67) located beneath said tank (20).