There are a number of chili varieties that will grow well in pots
Start by sowing your seed in seed compost in either 3" pots or use jiffy coir pots.
Like so many of our potted vegetables, chilies need at least 6 hours of warmth and light per day to do their best.
Though chilies don't need as much fertilizing as other plants, they do still need some feed.
Use a simple pair of scissor snips and, with chilies, be sure to wear gloves because the oils can be hot if you've planted a variety with heat.