Dr Murray was nominated to carry the torch by the GP surgery in Teriot where he used to work.
He told GP magazine: ‘Carrying the torch was a really special experience.
'It was inspiring to catch up with all the folk who had done such amazing things and it was really humbling to run alongside them.’
He added: ‘Physical exercise is one of the best ways to get the nation to improve their health and it is something I encourage all my patients to do regularly.’
Dr Murray is an enthusiastic runner who recently ran from John O'Groats to the Sahara desert, covering 2659 miles in 78 days, which he described as 'pretty straightforward'.
He raised over £75,000 for the Mongolian based Yamaa Trust who he has volunteered for, saying he was moved by the ‘warmness and hospitality’ of the people he met there.
Dr Murrary has recently been given the role as Scotland’s physical activity champion, where he hopes to tackle the country’s low fitness levels.