#Run PHP in Docker
Run PHP inside a Dev-Docker container
$ docker run -it --mount src="$(pwd)",target=/var/www/html,type=bind -p 3000:80 --name phpdev --sysctl net.ipv4.ip_unprivileged_port_start=0 --rm php:7.2-apache /bin/bash -c 'a2enmod rewrite; apache2-foreground'
Different user prevent the easy manipulation of files, it can be solved quite easily with
$ git config core.fileMode false
$ chmod -R 777 .