A truck driver has been sacked after a video of an angry confrontation with cyclists in the western suburbs was caught on camera.

The YouTube video shows Indian Ocean Cycling Club members riding along Railway Street in Cottesloe on Tuesday when they are passed by a large truck.

The truck then suddenly stops in the middle of the road and pulls into the cycling lane, preventing the cyclists from passing.

The driver then gets out and angrily confronts the cyclists, asking one “do you want a punch in the f***ing head?”.

IOCC member Nick Algie said his group were obeying the road rules when the truck overtook them

“He came up behind us and blew his horn for 15 to 20 seconds as he approached the group,” he said

“We were riding in an orderly fashion, one and two abreast hard against the verge.”

Mr Algie said while he had copped plenty of abuse from out of car windows, this was the first time he had seen a driver physically confront cyclists.

“I was shocked at his reaction. There was a feeling of disbelief he was that wound up, maybe he had had a run in with another group of cyclists and he was taking it out on us,” he said.

“We were aware the bikes hadn’t been doing anything wrong, we’d been dealing with the road conditions as best we could.”

A man claiming to be the driver involved in the confrontation denied he had been fired.

Earlier a spokesperson for contractor Earthtech confirmed one of their drivers was involved and has since been sacked.

Mr Algie said he was happy the company has taken the incident seriously and hoped the growing awareness that many cyclists had cameras would modify driver behaviour.

He said Perth drivers could be split in to two groups.

“The vast majority of drivers are aware of cyclists, sympathetic and do the right thing ,” he said.

“Then there is the extreme minority who just seem to be enraged by cyclist when ever they see them.”