Yet another way is to shoot an ultrasonic wave down the container and measure the time delay for the reflected wave off the surface.
As you can see from the replies, there are many ways to do this so more specific help would require more information about your application, specification, and constraints.
You could hire a midget with a measuring stick to sit by the vessel and take snapshots periodically while holding the measuring rod next to the vessel.
(I'm not picking on midgets. It's a running joke with my cousin, who is one.) [upside down]