Mercedes driver would only narrowly missed out on challenging the leading two drivers after fighting back but was held up by Ocon's team-mate Fernando Alonso.
"Fernando gave me hell out there," said Hamilton.
"It was awesome racing, pretty on edge at least once but great racing. And yeah, really difficult weekend, or day, obviously I had a lot of work to do from the back.
"Very hard to follow but [I was] just giving it absolutely everything right until the last lap. I hoped that I could maybe catch these guys.
"Maybe a couple of laps more we could have a bit of a duel – but I’m actually glad that we didn't have any more laps because this is very much needed."
Ocon shows he has potential - Hamilton
Ocon was once a part of Mercedes' junior programme but his F1 career was left in the balance after being dropped by Racing Point at the end of 2018.
After a sabbatical, the Frenchman returned with Renault in 2020 and after impressing with the rebranded Alpine team, Hamilton explained: "I think in his journey, this shows to everyone out there his potential.
"He’s racing against a two-times World Champion. Fernando’s not an easy driver to beat. So this really speaks volumes."
What do you think?
It amazes me how halitoms car always 2 seconds a lap faster then anyone elses towards the end of these races unless his got a bigger power reserve, and I think it's unfair for Vettell to lose his second place of fuel they got enough to run samples on and I have never seen a car of any kind to return the same fuel mileage
GPFans is a multi-platform, multi-language brand dedicated to Formula One coverage. We bring you all the ins and outs of the sport, 24/7, everything from up-to-the-minute news and features to the latest viral stories and clips.
We believe that a new generation of exciting, outspoken drivers will make F1 more popular than ever before, and we want to give our users access to as much of their heroes as possible, on and off the track. From Lewis Hamilton to Max Verstappen, Daniel Ricciardo to Sebastian Vettel, we provide in-depth analysis of every every Grand Prix in the season, from Australia to Abu Dhabi.
With Formula One under the new ownership of Liberty Media, how the sport is being covered is evolving, and GPFans will look to be at the heart of this progression into new media, as one of the fastest-growing sites covering the king of motorsports.