Skip to content
Snippets Groups Projects
Commit 5b26dd0f authored by jurgenhaas's avatar jurgenhaas
Browse files

Update config to reflect the local user being member of the docker group and...

Update config to reflect the local user being member of the docker group and then no longer requiring sudo
parent 8a8915c7
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment