LAMP stack on Debian

Docker NOOB. Running Linux Mint Debian Edition 4. Using the tutorial and example yaml file for multiple containers from here:

I get the following:

docker-compose up -d
Creating network “apache-php-mariadb_default” with the default driver
Creating phpmyadmin …
Creating mysql …
Creating apache …
Creating apache … error
Creating phpmyadmin … done
Creating mysql … done
ccb7fd4b615460da04ddd9c508697bf50ddd2092b): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use

ERROR: for apache Cannot start service apache: driver failed programming external connectivity on endpoint apache (1cefb4dcc852578d90650baccb7fd4b615460da04ddd9c508697bf50ddd2092b): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.

I’ve tried killing processes using or locking ports 80 and 3306 to no avail. Anything i’ve googled hasn’t worked either. Please, any help or pointing is much appreciated.

This error with apache only happens when I run composer with the yaml file … I can’t tell if there is an error in the file.

I installed Cockpit. I see the containers, and can run them all, including apache, with no problems (except the db keeps stopping … the logs say conflict, so there might be something in there I haven’t tracked down that may be influencing things.) Pointers from those more experienced would be appreciated. Thank you.