When gardai told him he had been spotted carrying a large black bin liner in the general direction of the bins at the apartment he claimed he had been carrying a games console and refused to accept the bag contained drugs.
He later admitted he had been promised €1,500 to hold these drugs. He had recently lost his job and was a heavy cannabis user.
Brady of Marigold Court, Darndale, pleaded guilty at Dublin Circuit Criminal Court to possession of cannabis valued at €78,000, for sale or supply in Churchwell Place, Belmayne, Balgriffin on January 18, 2011.
He has 49 previous convictions, including drug offences.
Garda Shane Fitzsimmons told Garret Baker, prosecuting, that the apartment in Balgriffin was searched after gardai recovered the drugs in the bin.
Doyle was there at the time and arrested but denied any knowledge of the cannabis resin.
Gda Fitzsimmons agreed with Caroline Biggs, defending that Doyle told gardai after interview that he had been holding the drugs for someone else.
He accepted that Doyle's involvement in the drugs operation itself was limited.
Ms Biggs said Doyle has been a heavy cannabis user for most of his life and his addiction increased following the death of his sister by suicide on Christmas Day a few years ago.
She said he had huge family support who were all present in court along with his partner.
Counsel said Doyle coached children's football with Darndale Rovers and said the club held him in high regard.
Judge Martin Nolan accepted that Doyle's involvement was at a lower level and that he was a good football coach and a good influence on young people.