Garlic can most certainly be grown in pots, though it is extremely important that you take the time to learn how to do it so you can get it just right. One of the most important things to consider is when to plant your garlic. Although some people decide to plant garlic in the spring, it is best to do so in mid-October in order to get the very best results.
You will have to use potting compost for your garlic plants so you will be able to purchase the cloves from a local grocery store. Just make sure that you avoid using soil from the garden, as it can cause all sorts of problems. You should also make sure that the containers you are using are facing the sun directly and get plenty of water so they will be able to flourish.