Error while installing docker version

I am trying to install docker on a Linux Mint 19.1 system which previously had the regular Debian version installed. The installation fails.

robert@robert-ideacentre-AIO-520-22IKU:~/openemr$ docker-compose up -d
Creating network "openemr_default" with the default driver
Creating volume "openemr_databasevolume" with default driver
Creating volume "openemr_sitevolume" with default driver
Creating volume "openemr_logvolume01" with default driver
Pulling mysql (mariadb:10.4)...
10.4: Pulling from library/mariadb
7b1a6ab2e44d: Pull complete
034655750c88: Pull complete
f0b757a2a0f0: Pull complete
5c37daf8b6b5: Pull complete
b4cd9409b0f6: Pull complete
dbcda06785eb: Pull complete
a34cd90f184c: Pull complete
f6b213ac7f8a: Pull complete
4ac4568a9633: Pull complete
e5893a4f6904: Pull complete
3d3849bbe752: Pull complete
Digest: sha256:65cdad364df07770a0da7da4183a78fefdcb202e146e541ea51b515ab26588de
Status: Downloaded newer image for mariadb:10.4
Pulling openemr (openemr/openemr:5.0.2)...
5.0.2: Pulling from openemr/openemr
21c83c524219: Pull complete
53b3d874321b: Pull complete
4000c0d9e51c: Pull complete
89f30b568716: Pull complete
e798a2c022d6: Pull complete
62d56eebb63b: Pull complete
552ae9df5d40: Pull complete
7cba093c1c8f: Pull complete
ee1084fb9024: Pull complete
3ff99688eab4: Pull complete
c1961c400de8: Pull complete
f87123246cd5: Pull complete
393e09a55a23: Pull complete
Digest: sha256:aaab5874a2921031048ea9f2afc910feb3390f65d70ea4d15d4176c4dea5d237
Status: Downloaded newer image for openemr/openemr:5.0.2
Creating openemr_mysql_1 ... 
Creating openemr_mysql_1 ... done
Creating openemr_openemr_1 ... 
Creating openemr_openemr_1 ... error

ERROR: for openemr_openemr_1  Cannot start service openemr: driver failed programming external connectivity on endpoint openemr_openemr_1 (a86eb0e7f84f9dfe07cbbdfa0ea2233a7f93928b23bbcb61b2ad2e94f8c03703): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

ERROR: for openemr  Cannot start service openemr: driver failed programming external connectivity on endpoint openemr_openemr_1 (a86eb0e7f84f9dfe07cbbdfa0ea2233a7f93928b23bbcb61b2ad2e94f8c03703): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
robert@robert-ideacentre-AIO-520-22IKU:~/openemr$

I guess it’s important to note that uninstalling my regular openemr (5.0.2) had failed, so what I did was simply to delete these folders:

/var/www/openemr
/etc/openemr
/var/log/openemr
var/lib/mysql/openemr

As explained here.

Many thanks.

hi @rdh61 , you have something else running on openemr’s port. Try stopping apache, sudo service apache stop and then you can try to bring it back up.

OK, that seemed to complete. But in my browser (chrome or firefox) http://localhost/ gives me the Apache default page, while http://localhost/openemr/ gives page not found.

SOLVED… Just had to clear the cache from my browser.

2DV