I’ve grown potatoes in containers before, with mixed results.
My potato patch this year was around 600 sqft. I’m not buying that many containers!
My experience/failure. Last year's potatoes experiment; screened soil added rice hulls; grew in garden bags inside of 15 gallon pots. Leafed out, but realized just a handful of tiny potatoes. Hard to keep watered and cool. Used this method this year with Sweet potatoes, kept the pots behind a picket fence to shade, let the leaves grow on the fence and kept the leaves trimmed and did get about 10 pounds of sweet potatoes. (Curing now on my back porch.)
This year's failed potato experiments. Late start, (hot weather) and used a broken straw bale in a vertical tower made of 4’ high Fence 2 1/2’ Diameter circle. Put screened compost dirt each level going up where I planted the sprouting potates. No sprouts leafed on the outside of the tower. Too much water, (rain and watering) the potato cuttings rotted and became food for the sow bugs (introduced in the soil I used.) No potatoes but I did get some good rotting straw this year for my compost pile! I will try again next year earlier in the year.
(A Sow/Pill bug trap is of course, a piece of cut potato that you leave out overnight and pick up before disposing of the bugs in a bucket of water or relocating to your compost pile to work their magic on disposed vegetable matter.)
**Potatoes with pots; Plants are entirely reliant on you for water and fertilizer; they can't send roots out to find whatever you do not provide! You miss water or limit nutrients and you will get lousy results, and Even if you will probably not have an optimal result.