Thanks for all the replies!
I tried with a plastic container I got when ordering takeaway. It survived. Figured it would be less issues clearing out broken plastic then glass. I saw a video of someone pulling air out of produce with the help of this and was thinking of trying it. But checking around I read that glass potentially could break so was thinking of asking here, in case anyone knew or even tried it themselves.