Ghai X Chong, 29, who worked in the Acute Medical Unite at Hull Royal Infirmary told police he thought he had his twisted ‘addiction’ under control.
However, police found more than 3,000 images of sickening child abuse on his laptop and hard-drive, Hull Live reports.
The medic, originally from Malaysia, has been jailed for six months and faces being deported after he has served his sentence.
Chong’s home was raided in November last year by police who seized a laptop and hard-drive.
An examination of the laptop found 30 indecent images of category A – the worst kind – six of category B and 86 of category C.
On the hard-drive in a folder labelled “pic” a huge number of indecent images and videos were also found.
There were seven images of category A, 116 of category B and 2,678 of category C found.
Chong had also kept 426 videos of category A, 160 of category B and 296 of category C.
One disgusting video showed the rape of a child by an adult.
Charlotte Baines, prosecuting told Hull Crown Court on Tuesday that Chong was suspended as soon as he was arrested.
She said: “He had a meeting and during the course of that he made comments such as, ‘It’s all my fault. I’m addicted to porn and have been for years.
“I thought it was under control but the evidence is very incriminating.'”
Ms Baines told the court Chong came to the UK from Malaysia to study medicine.
The court heard Chong’s case would be referred to the Home Office who will decide whether he will be deported back to Malaysia after he has served his sentence.
Mitigating, James Bonarten, said “isolated” Chong has already reached out for help to address his offending.
He said: “He has completed a module with the Lucy Faithfull Foundation. Mr Chong was sent here to get an education.
“He is from a modest background in Malaysia.
“His parents did what they could to get him here so he could qualify and were very proud. He has to face up to them and explain to them why he turned to this.
“He has very little in way of support, his character references are all from colleagues opposed to any friends. He was lonely and how he coped with that was in this manner which he accepts was bad.
“It is no doubt a relief to him that he has been caught. Not only has he lost his job and career but also his right to remain in the UK.
“He has been left in limbo as he cannot work or study.”
Judge David Tremberg told the court Chong’s offending happened “against a background of low self esteem and self isolation.”
Sentencing him to six months imprisonment for three counts of making indecent images and one of possessing a prohibited image, the judge told Chong: “You spent many years qualifying as a doctor and you know that is a profession the public put their trust into for their welfare and the welfare of their families, parents and children.
“You became addicted to using pornography and child pornography. Your offending is a serious example of its type.”
Chong has also been made the subject of a sexual harm prevention order for seven years and must also sign the Sex Offenders’ Register for seven years.
Reacting to his sentence, Detective Constable Sarah Hardwick of the Internet Sex Offenders Team (ISOT), said: “Whilst there is no suggestion that Mr Chong has committed any offences during his employment as a doctor he was working in a position of trust and that level of trust comes with values and integrity which he failed to uphold.
“During Mr Chong’s interviews, there was no indication given as to why he committed the offences he did.
“Mr Chong will be placed on the Sex Offenders’ Register as a result of his conviction and should offer some reassurance to the public that the police will remain involved with him in the community to try and ensure he does not offend again.
“The court also granted a Sexual Harm Prevention Order that would further protect the public from any potential future offending.”
ISOT work with Humberside Police and Child Exploitation and Online Protection and work closely alongside the National Crime Agency to gather evidence against offenders in our area to bring them to justice.