This is an Universal Thread Lubricant Oil container / regulator for Industrial Sewing Machines.

It has a magnetic base to attach to the machine very easily.