Potting soil can be good for growing beans in containers, but it's important to choose a high-quality, well-draining potting mix. It's also recommended to add compost or other organic matter to the potting mix to provide the nutrients that the beans need to grow. Additionally, make sure to provide the beans with enough sunlight and water [2].