Five key points to growing onions in container. Containers require a certain soil depth, good drainage, proper sunlight, fertilization, and proper watering.