From 026307a3f6491ca41ce20de64a874ceb50586c26 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sun, 14 Jan 2024 13:03:48 +0100 Subject: [PATCH] Update README.md to mention `occ` wrapper script Signed-off-by: Daniel Rudolf --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c759ecba..a0da5e20 100644 --- a/README.md +++ b/README.md @@ -105,13 +105,13 @@ If mounting additional volumes under `/var/www/html`, you should consider: ## Using the Nextcloud command-line interface -To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command): +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: ```console -$ docker exec --user www-data CONTAINER_ID php occ +$ docker exec CONTAINER_ID occ ``` or for docker-compose: ```console -$ docker-compose exec --user www-data app php occ +$ docker-compose exec app occ ``` ## Auto configuration via environment variables