September 04, 2021
Developing with Docker, PHP, Apache and MariaDB
Oh Docker…
It took me quite some time before I got on the Docker boat (pun intended), but since last few weeks, I’m totally in. This article describes a way to set up a MAMP development environment with Docker, Apache, PHP and MariaDB (i.e. MySQL).
I was cleaning up my laptop as I had only 6Gb left on my 2013 MacBook Pro. I had both Macports and Homebrew installed… Why? I can’t recall actually. But I found out both use an aweful lot of diskspace. I deleted both and wrote a docker-compose.yml with about 50 SLOC that’s easier to maintain and easy to set up.