I doubt it could smash the sides of the rubbermaid container - there's a lot of give in the walls of those containers. Of course, it really depends on what kind of mantis you're getting, as the smaller ones would have no chance of busting the container.
One thing to keep in mind is that you will see very little of the mantis, since the sides of the container won't be clear.