A gas always fills whatever container it's in. You will get a lot of answers
to your question, with various technical discussions that involve pressure
and temperature. The fact of the matter is that the only thing you can do to
change the volume of the gas is change the volume of the container it's in.