Both yellow and butternut squash can be grown in containers. Look for varietals that produce smaller fruits, such as crookneck and honeynut.