The designs I've seen had very thin tubes. Certainly not anywhere close to 10 inch thick steel, no. The designs I've seen had thicknesses close to or under one inch.
A 50 cal APDS bullet would punch clean through the first layer and would likely leave an inch thick hole, and would likely cause significant damage on the other side if not penetrate it outright. This is almost certainly sufficient to cause explosive pressurization, which would likely cause immediately more damage and eventually create a powerful shockwave that would destroy anything in the tube.
Of course, a bomb next to the wall would be much worse.
If it was a 10 inch thick steel tube, it would be much better, but also ten times more expensive, making it prohibitively expensive.