Potatoes in containers need at least 6 hours of direct sunlight a day to grow properly and produce a good crop. Too little light can result in weak, spindly growth and reduced yields, while too much sun can cause the leaves to scorch.