From a08a16c37ede0b4c32feab5f436d317079f87d88 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Fri, 30 Jun 2017 20:24:35 +0200 Subject: [PATCH 1/2] docs: Add hint for using the ownCloud Console --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8938171..fd3bb7b 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,12 @@ $ docker run -d nextcloud \ -v theme:/var/www/html/themes/ ``` +## Using the Nextcloud command-line interface +To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/occ_command.html) (aka. `occ` command): +```console +$ docker exec --user www-data CONTAINER_ID php occ +``` + # Running this image with docker-compose The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples what you have to look for. From abd27936d39b9657155c5c7e9f512fa259a7a529 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Sat, 1 Jul 2017 09:46:50 +0200 Subject: [PATCH 2/2] Add docker-compose occ example --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd3bb7b..b388466 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,10 @@ To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/ ```console $ docker exec --user www-data CONTAINER_ID php occ ``` - +or for docker-compose: +```console +$ docker-compose exec --user www-data app php occ +``` # Running this image with docker-compose The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples what you have to look for.