Waste company Greyhound said it has informed the Health and Safety Authority about a near miss this morning in which a man who was sleeping in a recycling bin was tipped into a collection truck.

The man, who is homeless and believed to be in his 30s, had been sleeping in the large bin in the Hardwicke Street area of Dublin city centre when the bin was being emptied at about 7.50am.

The man was not injured and the company said he was fortunate that the compactor in the truck was down at the time.

Greyhound Chief Executive Michael Buckley said the vigilance of the waste collection crew saved the man's life.

"We are relieved and delighted the man walked away unharmed," he said.

An ambulance was called to the scene as a precautionary measure and the incident was reported to the HSA.

"An increasing number of people are putting their lives at risk by using large bins as a source of shelter and heat," Mr Buckley warned.

He called for the main waste management companies to agree safety check protocols on the collection of large bins.