You can easily grow garlic in a pot
I’d rather just grow pot.
I grow it every year. Plant in October, harvest in June/July, have enough until the following summer. Then start in all over again.