Former CIA chief David Petraeus has suggested that he would join the administration of President-elect Donald Trump if asked.

Petraeus made the remarks in an interview with Britain's BBC radio when asked whether he would agree to work with Trump.

"I've been in a position before where a president has turned to me in the Oval Office in a difficult moment and .... said 'I'm asking you as your president and commander-in-chief to take command of the International Security Assistance Force in Afghanistan'."

"The only response can be 'yes, Mr. President'."

According to The Wall Street Journal, Trump's transition team was considering Petraeus for the position of defense secretary.

As a four-star general in the US Army, Petraeus oversaw international military forces in both Iraq and Afghanistan.

He later served as the CIA director under the administration of President Barack Obama.

Asked whether Trump had the right temperament to be the president of the US, he said, "We're going to have to see. I'm not someone who's had contact with him in the past. I don't know how he operates.”

He added that those who had talked to Trump have said, “He's a very personable, very hospitable, very gracious guy, full of questions and dialogue.”

Petraeus was also asked whether he was sure about Trump’s capability of serving the country as president, he said, "I think so, yes. It's up to Americans not only to hope that that is the case, but if they can, endeavor to help him."

Trump stunned the world by defeating the heavily-favored Democratic candidate, Hillary Clinton, in the election on November 8.

The majority of his supporters are waiting to see whether the real estate tycoon will deliver on his campaign promises after he takes office on January 20.