Skip to content

Commit 026307a

Browse files
committed
Update README.md to mention occ wrapper script
Signed-off-by: Daniel Rudolf <[email protected]>
1 parent 8d9908d commit 026307a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ If mounting additional volumes under `/var/www/html`, you should consider:
105105
106106

107107
## Using the Nextcloud command-line interface
108-
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):
108+
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command), you can use a simple wrapper script provided by the Nextcloud image dealing with permissions:
109109
```console
110-
$ docker exec --user www-data CONTAINER_ID php occ
110+
$ docker exec CONTAINER_ID occ
111111
```
112112
or for docker-compose:
113113
```console
114-
$ docker-compose exec --user www-data app php occ
114+
$ docker-compose exec app occ
115115
```
116116

117117
## Auto configuration via environment variables

0 commit comments

Comments
 (0)