Irish looked on target to record a famous victory when they led 32-31 with two minutes to go, but Toby Flood's penalty and a Tom Croft try from the last movement of the game proved heartbreaking for the hosts.
"We played some good stuff but some horrendous stuff," Cockerill said.
"We soaked up early pressure and then I thought we were going to take control, but we were too inaccurate against a side who have the pace and power to punish you."
Leicester certainly had the dominant scrum and Flood's last-ditch penalty, which give him an impressive match tally of 26 points, came from Irish conceding a penalty in that area.
Cockerill said: "We were aware that their scrum had been weak all season.
"We came with a plan to dominate the set piece which we did, but apart from that we didn't play particularly well."
Leicester did lose Ben Youngs with a minor shin injury midway through the second half, but the England scrum-half may have further problems as he could be cited for what appeared to be a deliberate kneeing of an opponent while he was on the floor.
Irish coach Toby Booth described Youngs' actions as "unnecessary" and Cockerill added: "It was in the heat of the battle.
"He was being held but it is a matter for the citing officer."
Irish were desperately unlucky not to have secured at least a share of the spoils after being the more creative side, with Tom Homer especially unfortunate to be on the losing side.
The full-back scored a splendid try and kicked three late pressure penalties to put his side in sight of victory.
Irish director of rugby Brian Smith said: "Homer is a special kid and it was a special performance.
"As a neutral the game was an outstanding spectacle. After 78 minutes we had our noses in front and I thought it was going to be a Cinderella moment for us."
Booth added: "We should celebrate the effort, there were a lot of positives, but ultimately it's all about the four points."
Gilbert has released a new line of rugby cleats. The Gilbert Virtuo 8S is part of the exciting new product. Check it out.
The Barbarians are one of the top invitational rugby sides with a long history and classic rugby jersey.
The Nike Tiempo is a solid rugby cleat and one of few styles still made from full-grain natural leather.
The Lions get ready for their matches with this green training jersey. It's what the players wear. Get in the Gear!
A cool looking all black rugby cleat with the high performance adidas is known for. Get in the Gear!
Wear the crest of the British and Irish Lions on your t-shirt. A great look for the summer.
$29.99
The Lions are ready to get their Australia tour underway. They arrive in Perth on Monday.
The New Zealand All Blacks training jersey for 2013/14. Get in the Gear!
The USA Rugby Pro Alternate rugby jersey is perfect for any fan of the Eagles. Get yours to wear during the summer Test matches.
The NEW All Blacks 2013/14 jersey has arrived at World Rugby Shop. Dare to wear the colors of the All Blacks.