Pumpkins have a shallow but wide root system, so they can grow in containers that are shallow as long as they're larger in diameter. A hard plastic children's swimming pool is a good example.