Two people were arrested after gunfire erupted Wednesday morning outside the Durham County Courthouse.