The container that holds water for the football team is 1/6 full. After pouring in 8 gallons of water, it is 1/2 full. How many gallons can the container hold.