If the pot is big enough, like a whiskey barrel, anything goes. Otherwise stick to the “determinate” (meaning not so vigorous and vinelike as “indeterminate” ones, but reaching a maximum size after they set a flower cluster at their terminal growing point), or even to the ones labeled for containers (see below). So-called “patio” type tomatoes are a sub-set of the determinates.
This U of Illinois factsheet has a good list of dwarf/container type tomatoes as well (scroll down):
Welcome! I’m Margaret Roach, a leading garden writer for 25 years—at ‘Martha Stewart Living,’ ‘Newsday,’ and in three books. I host a public-radio podcast; I also lecture, plus hold tours at my 2.3-acre Hudson Valley (NY) Zone 5B garden, and always say no to chemicals and yes to great plants.