diff --git a/README.md b/README.md index 1bbcf43638965e0cab262e10c25b5f0a260da657..f53bb4d62341305254753b0e9918196d455883a3 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Your development workstation needs to be prepared once, so that Docker and its c ```bash sudo groupadd -r -g 82 www-docker sudo usermod -a -G www-docker $(id -un) + sudo usermod -a -G docker $(id -un) # logout and re-login again to make these changes effective ``` @@ -49,14 +50,14 @@ This will install and configure all required files so that you can launch your D ```bash cd /path/of/project/root -sudo docker-compose up -d +docker-compose up -d ``` ### Stopping the Docker containers ```bash cd /path/of/project/root -sudo docker-compose stop +docker-compose stop ``` ### Access the services @@ -82,10 +83,10 @@ By default, PHP is configured with XDebug being enabled and you should check the Each service (nginx, php, db, etc.) provides their own logs and it is very easy to access them: ```bash -sudo docker logs [NAME] -f +docker logs [NAME] -f ``` -Each service has their own container name and to get a list of all available name you should use `sudo coker ps`. +Each service has their own container name and to get a list of all available name you should use `docker ps`. ### Direct access to your database