Increasing the number of gas particles in a container will increase only the pressure inside the container given that the container is rigid so that expanding the volume is not possible. However, when the container is not rigid, the volume might as well increase together with the increase in pressure.