MONROVIA, Liberia — The family of the sick man, who had endured Ebola’s telltale symptoms for six days, took him by taxi to treatment centers here in the capital twice, only to be turned back at the gate each time for lack of beds. He died at home, his arms thrashing violently and blood spewing out his mouth, in front of his sons.

“We had to carry him home two times because they could do nothing for us,” said Eric Gweah, 25, as a team of body collectors came to retrieve the corpse of his father, Ofori Gweah, 62. “The only thing the government can do is come for bodies. They are killing us.”

So many Ebola victims are dying at home because of the severe shortage of treatment centers here in Monrovia, Liberia’s capital, that they are infecting family members, neighbors and others in a ballooning circle of contagion.

Only 18 percent of Ebola patients in Liberia are being cared for in hospitals or other settings that reduce the risk of transmission by isolating them from the rest of the population, according to the Centers for Disease Control and Prevention. Unless that rate reaches 70 percent, the center predicted this week, Ebola cases will keep soaring.