To determine of 4 containers are all that are needed, you will find the total number of gallons that are in the 6 containers by multiplying the 2/3 gallon in each container by 6.
2/3 x 6 gallons = 4 gallons.
You would be able to put all the orange juice in 4 containers.