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 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
 Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
 Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
 Err:4 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
   Could not resolve host: apt.dockerproject.org
 Hit:5 http://security.ubuntu.com/ubuntu 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 https://apt.dockerproject.org/repo/dists/ubuntu-xenial/InRelease  Could not resolve host: apt.dockerproject.org
 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 https://hub.docker.com/r/openemr/openemr/

No instructions there.

From:

On the 31st of March 2020, we will be shutting down the legacy APT and YUM repositories hosted at dockerproject.org and dockerproject.com. 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 dockerproject.org or dockerproject.com, please update to use the repositories at download.docker.com.

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