Hi this year I have been growing my vegetables in containers and grow bags and they seem to be doing well to date.
I have 3 potato patio bags which have been rotationally planted. Beetroots, radishes, carrots, mini cucumbers, courgettes, peppers and strawberries in pots and troughs and tomatoes, beans, peas, broad beans and assorted lettuce in grow bags.
They are all now flowering and the first bag of potatoes is almost due to harvest.
So I think the answer to your question is take into account how deep and wide the vegetables are that you want to grow in containers and you could try most things.