Hello,
The difference is that the bed in shared of 6 is a shared room of 6 people, and the single bed in dormitory room is a room with only 2 beds (also shared but if you book both beds you'll be alone in it.
Regards