Very few fruit trees do good in containers as they need room. There are specifically designed dwarf citrus that can do good in containers, but you should expect a few years before you get any yield. Make sure you get a dwarf though, not just any old lime or lemon tree.