I've heard some people say that food-grade plastic buckets are preferable if you're growing plants for food. Your favorite bakery, deli or restaurant might give you their empties if you ask nice

.
5 gallons should be fine for size. Containers need to be watered often if they're outside in hot or windy weather, but you'll still want good drainage.
Let us know how it works out.