I needed to replace my vagrant environment because it got bigger and bigger because of the amount of databases I'm using in development. It's not easy to fix sizes when needed and I hope that this does not happen with a docker setup.
So I cloned a wonderful repository with a docker_compose.yml for a lamp stack, added mailhog and some customisations and was up and running in quite a good time.
I set it up in my home dir, so to use it with my user and do not run into permissions errors. To achive this, I had to use:
sudo usermod -a -G docker $USER
newgrp docker
- Tags
- devenvironment