diff --git a/README.md b/README.md index 39910109ffd9a6f260e2606ad9bb6d453e366501..9881213408203e80f756f5d22cc4f8ae0ecf4eb2 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,19 @@ Inside `my-web-project/www` you place your web files. # Running the server Go to your web project directory (e.g., `my-web-project`) and run: + +### On Linux (bash) ``` docker run -it -e APACHE_ROOT=www -e PHP_DISPLAY_ERRORS=On \ -e DOCKER_USER_ID=`id -u \`whoami\`` -p "80:80" -v ${PWD}:/app \ -v ${PWD}/mysql:/var/lib/mysql --name lampserver-1 --rm lampserver ``` +### On Windows (powershell) +``` +docker run -it -e APACHE_ROOT=www -e PHP_DISPLAY_ERRORS=On -p "80:80" -v ${PWD}:/app -v ${PWD}/mysql:/var/lib/mysql --name lampserver-1 --rm lampserver + +``` + `lampserver-1` is the name of the docker *container*, i.e., a running instance of the `lampserver` image.