Answer:
6 containers
Explanation:
This problem is asking us to divide the total 2/3 gallons by the 1/8 gallon of paint being poured into each container.
Given:

"Keep, change, and flip:"

Multiply across:

Simplify:
5

Since the problem is counting the one partially filled, we round 5
up to be 6 containers with paint in them.