Can an ideal gas feel the shape of its container