Skip to content

Commit 3280904

Browse files
committed
Updates README
1 parent 64c4bb9 commit 3280904

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,18 @@ Three additional containers are included that handle Composer, NPM, and Artisan
2727

2828
## Permissions Issues
2929

30-
If you encounter any issues with filesystem permissions while visiting your application or running a container command, try completing the following steps:
30+
If you encounter any issues with filesystem permissions while visiting your application or running a container command, try completing one of the sets of steps below.
31+
32+
**If you are using your server or local environment as the root user:**
33+
34+
- Bring any container(s) down with `docker-compose down`
35+
- Rename `docker-compose.root.yml` file to `docker-compose.root.yml`, replacing the previous one
36+
- Re-build the containers by running `docker-compose build --no-cache`
37+
38+
**If you are using your server or local environment as a user that is not root:**
3139

3240
- Bring any container(s) down with `docker-compose down`
33-
- In your terminal, run `export UID=$(id -u) && export GID=$(id -g)`
41+
- In your terminal, run `export UID=$(id -u)` and then `export GID=$(id -g)`
3442
- Re-build the containers by running `docker-compose build --no-cache`
3543

3644
Then, either bring back up your container network or re-run the command you were trying before, and see if that fixes it.

0 commit comments

Comments
 (0)