Ants have a free licence to go anywhere and they particularly search for food forming endless queues. While care is taken to see that no food is spillt on the ground they are still seen around trying to get inside food containers.
Apart from using a mild insecticide some other precaution needs to be taken where insecticide cannot be sprayed. And that method is to create a moat kind of a situation where the base tray where water is placed is much larger than the stand that is kept on it for food container to be placed. Because of the water ants cannot get to the food containers.
We use this method regularly specially for honey and sugar containers.
What is your method of warding off ants?
Do you have problems with ants in your house?