An army of prison guards bearing riot shields and helmets stormed a County Durham prison after disorder broke out.