Idk about older snakes but I hear older animals are more set on their habits and adapt the change a little slower, or on rare occasions not at all. I know with shyer types like bp, especially ones with a more shy disposition, anything that throws them off their 'schedule' can be stressful to them to the point that they may stop feeding for awhile or become more hesitant to the things around it. For example, my bp has always been a shy one. I moved his tub to a different location for a few days before moving him back to the original location. He had been a great feeder who would try to get at the rat before I even open the lid. After that move, he became hesitant for a few minutes but eventually took the rat. Nothing changed other than the location within the same room. No foot traffic, no handling and he was left alone since the move to the new spot and back to the old spot.
With that said, I would give your pet some time to settle down and figure things out at his pace. Bp's do well in tubs because they feel secure. Glass tanks may seem too exposed so you may want to cover the sides for now until he feels comfortable. Too much open space may be too much for a shy snake too so lots of fake plants and hides to clutter up the free space can help.
And assuming when you said container you meant your typical sterilite tubs, some snakes do well in it while others don't. Lots of owners uses tubs, myself included, for bp because it works for humidity, cleaning, and other things that work for the bp as well. As long as it has things inside the tub to keep it stimulated (ie changing out cork bark for a brick, etc), it is not a bad thing. Same for glass tanks. As long as its needs are met, including things for it to do if it chooses to, it will work for both owner and snake.