Until you can't find a container big enough... ;-) I've seen black bamboo of various species doing just fine potted up. Just need to remember you'll be bumping it up every year, and you need to pay particular attention to watering and temperatures, as it's quite different than when it's in the ground.