People, in fact, do bring food off the ships all the time. I don't know about packing an ice chest full, but it is done. Nobody checks in the ports you mentioned.
Anywhere you are likely to go will use purified water for everything from washing foodstuffs, to making ice, to serving you water in a restaurant.
If you drink tap water from a garden hose, you can expect a visitor.