I tagged the following tech2watch article, click this link to read it. https://jtreminio.com/blog/running-docker-containers-as-current-host-user/
ed: If you want to jump right to the solution, jump ahead to Ok so what actually works?. Docker is an excellent tool for local web development. It allows creating non-trivial environments without polluting the local system with tools.