Q.Planting Nasturtium In Vegetable Containers
Your article of Planting zucchini in containers suggests planting nasturtiums in the same container to keep the ‘pests at bay’. However your article on Nasturtiums indicate they’re good for a vegetable garden to attract aphids away from plants. Why would someone want to attract aphids to a zucchini plant instead of away from it?

Certified GKH Gardening Expert
I can't find anything in this article about growing nasturtiums in the same container with zucchini. Could it have been on another site?
https://www.gardeningknowhow.com/edible/vegetables/zucchini/zucchini-container-care.htm
The article below on using nasturtiums as a trap crop says to plant them away from the vegetables.
https://www.gardeningknowhow.com/ornamental/flowers/nasturtium/nasturtiums-for-pest-control.htm
This article says certain herbs can keep pests at bay.
https://www.gardeningknowhow.com/edible/vegetables/zucchini/zucchini-plant-companions.htm