Migrants reportedly set light to paper and clothing to ‘attract’ attention and attacked police who came to the scene.
A confrontation between the two groups left nine officers slightly injured at the camp in Murcia.
Authorities are still searching for the group.
Spain’s seven detention centres hold people living in the country illegally until they decide whether or not to deport them.
But there has been a growing number of riots as detainees and critics say the migrants are living in prison-like conditions.
Javier Monje, the Police Union’s spokesman in Murcia, has called for the centre to be closed, saying it ‘cannot stay open a minute more’, adding that police were under equipped.
Some critics blame the deep public spending cuts imposed by Mariano Rajoy and his conservative government, which they say have caused the conditions to worsen.
The SUP (Police Union) has said that when it rains in centres in the south, detainees are told to simply roll their trousers up to their knees.
- IN PICS: ‘One million’ march against Brexit in London - 23 Mar, 2019 @ 20:14
- ‘DRUG HILLS’: British expats in upmarket urbanisation on Spain’s Costa del Sol wake up to ‘disgraceful’ graffiti - 20 Mar, 2019 @ 11:47
- Westley Capper arrives at Malaga court on last day of Agnese Klavina trial after damning CCTV footage shown to court - 20 Mar, 2019 @ 11:20
- Dead body dumped on Spain’s Costa del Sol was of young foreigner, 23, and had at least 10 gunshot wounds - 19 Mar, 2019 @ 10:59
- Guardia Civil cop who killed three people after causing pile up on Costa del Sol while driving on cocaine ordered to pay €1.4 million in compensation - 18 Mar, 2019 @ 16:52
- SACRE BLOW! French smuggling gang which moved cocaine and hashish between Morocco, Malaga and Europe busted in joint operation - 18 Mar, 2019 @ 16:12
- Residents feel shaking as FOUR earthquakes rock Malaga - 18 Mar, 2019 @ 15:33
- Rain and cold wind forecast for Spain’s Malaga this week - 18 Mar, 2019 @ 15:16
- WATCH: Manhunt launched after pharmacy robbed at GUNPOINT on Spain’s Costa del Sol - 18 Mar, 2019 @ 12:45
- Dead body found dumped with ‘several gunshot wounds’ on Spain’s Costa del Sol - 18 Mar, 2019 @ 12:31