A vacuum container comprises a body coupled with a bottom seat having an
air sucking device mounted therein, the body having a micro switch
electrically connected to the air sucking device, a fastener having a
second lever slidably contacted with a lever of the micro switch, a first
lever having a first end with a pin optionally coupled to a hole defined
in the body and a second end slidably contacted with the second lever of
the fastener, and a spring mounted between the second end of the first
lever and a tab of the body; and a cover pivotally connected to the body
and having tabs for being clamped with the fastener of the body. When the
cover is closed, the air sucking device can automatically start operation
to suck air from the container for keeping food fresh therein.