Home Depot buckets are not food safe so they are not a great choice to grow your fruits and vegetables. This information comes from the Product Overview of their buckets webpage.
The recycling triangle aka Mobius Loop with the number 2 and HDPE branding are made from High-Density Polyethylene which is said to be the best plastic for food storage. It is the least likely to leach into your plants or food.
If you need food-safe 5-gallon buckets to start your container garden, check out the Amazon affiliate links below.