Although in theory a vacuum should be completely free of matter, in practice vacuum chambers do contain gravity. For all intents and purposes, this is fine provided that the vacuum chamber contains a lower pressure than the surrounding area.