Do you use or administer OpenEMR? Take the General Satisfaction Survey to help improve the product

Ubuntu failed to update because of the docker container

I have recently inherited an AWS installation with Docker. It has Ubuntu 16.04.6! php7.0. It currently has 105 packages that need updating and 28 security updates. So, I ran

 sudo apt update

Then I got

 ubuntu@ip-10-0-1-203:~$ sudo apt update
 Hit:1 xenial InRelease
 Hit:2 xenial-updates InRelease
 Hit:3 xenial-backports InRelease
 Err:4 ubuntu-xenial InRelease
   Could not resolve host:
 Hit:5 xenial-security InRelease
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 47 packages can be upgraded. Run 'apt list --upgradable' to see them.
 W: Failed to fetch  Could not resolve host:
 W: Some index files failed to download. They have been ignored, or old ones used instead.

Could someone point me to some instruction on what to do next? I went here

No instructions there.


On the 31st of March 2020, we will be shutting down the legacy APT and YUM repositories hosted at and These repositories haven’t been updated with the latest releases of Docker and so the packages hosted there contain security vulnerabilities. Removing these repositories will make sure that people download the latest version of Docker ensuring their security and providing the best experience possible

What do I need to do?

If you are currently using the APT or YUM repositories from or, please update to use the repositories at

You can find instructions for CentOS, Debian, Fedora and Ubuntu in the documentation.

Will updating the docker crash the OpenEMR instance inside?
Also, will updating the OS affect the docker container?

@mdsupport Thank you!

Would be hard for anyone to be definitive but consider the following:

OS and docker (as in docker executables running under OS) are related. So your apt update takes care of docker executables’ stability.

The docker processes use image(s) and its own sub-processes for running emr. Docker binaries take care of emr stability.

1 Like