From 9c103a7e2e46d19ea76ed9148ed23b00c3e47829 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 5 Apr 2017 13:28:34 -0700 Subject: [PATCH] Add a short blurb about using "occ" --- owncloud/content.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/owncloud/content.md b/owncloud/content.md index 82672b257..b85dfa0c0 100644 --- a/owncloud/content.md +++ b/owncloud/content.md @@ -36,4 +36,12 @@ For fine grained data persistence, you can use 3 volumes, as shown below. When using the 6.0 image, you need to map the host port to the container port that apache listens on when going through the installation wizard. By default, this is port 80. +## Using `occ` + +The [`occ` tool from upstream](https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/occ_command.html) is simplest to use via `docker exec`, similar to the example provided there: + +```console +$ docker exec -u www-data some-owncloud php occ status +``` + ## %%COMPOSE%%