The correct analogy for the mind is not a vessel that needs filling, but wood that needs igniting.

or

The mind is not a vessel to be filled but a fire to be kindled.