A master gardener and homebrewer friend of mine told me that he'd never plant bamboo in his yard unless it was in a very strong plastic pot with the drain hole plugged up. Once that stuff gets into the surrounding soil, it will pop up in your flowers, and your mulch, and the yard, and the landscape bed that's 20 feet away... you get the picture. He suggests sinking a rigid plastic pot in the ground, with an inch or two sticking out of the surface. Cover the drain hole with rigid plastic, part of a clay pot, or something, and glue it into place. Plant the bamboo and it shouldn't escape. Every 5 years or so, you may want to dig it up and replace the pot.
Another thing. If the bamboo escapes, and takes over the lawn, its REALLY hard on your mower.