To avoid drying out your garlic, keep your bulbs away from dehumidifiers and direct, constant airflow. The size of the container will depend on the number of cloves you intend to plant in it.
Some varieties that do well indoors include: Garlic can grow in a compact container of 6 to 8 inches diameter, depending on the number of cloves planted, but because it’s essentially a root crop ...