You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,6 +227,8 @@ You can select your own combination of container form this list:
227
227
docker exec -it {Workspace-Container-Name} bash
228
228
```
229
229
Replace `{Workspace-Container-Name}` with your Workspace container name.
230
+
<br />
231
+
Add `--user=laradock` to have files created as your host's user. (don't forget to change the PUID (User id) and PGID (group id) variables in docker-compose.yml).
230
232
<br>
231
233
To find the containers names type `docker-compose ps`.
232
234
@@ -657,7 +659,7 @@ More details about this [here](https://github.com/jenssegers/laravel-mongodb#ins
657
659
7 - Test it:
658
660
659
661
- First let your Models extend from the Mongo Eloquent Model. Check the [documentation](https://github.com/jenssegers/laravel-mongodb#eloquent).
660
-
- Enter the Workspace Container `docker exec -it laradock_workspace_1 bash`.
662
+
- Enter the Workspace Container `docker exec -it --user=laradock laradock_workspace_1 bash`.
0 commit comments