Herbs are often grown in containers for a variety of reasons. It could be that you lack room, your soil is poor, you want to extend the growing season, you want to keep the herbs nearby for use in the kitchen, you want to keep invasive herbs at bay, or you live in an apartment and enjoy fresh herbs but don’t have a yard in which to grow them.
Whatever your motivations, most herbs are suitable for growing in pots and may be found anywhere as long as they have access to enough sunlight, water, and healthy soil.