If you were to solve this equation with fractions with the same denominater, you only need to pay attention to the numerater.
you have 8/5 liters to fill 1/5 containers, 8 goes in to 1 8 times, therefore you can fill the cup eight times.
The answer is 8