mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 02:56:42 +01:00
Merge pull request #120 from simon04/patch-1
docs: Add hint for using the nextcloud Console
This commit is contained in:
commit
ec85bdaf20
1 changed files with 9 additions and 0 deletions
|
@ -79,6 +79,15 @@ $ docker run -d nextcloud \
|
||||||
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME>
|
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 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
|
||||||
|
```
|
||||||
|
or for docker-compose:
|
||||||
|
```console
|
||||||
|
$ docker-compose exec --user www-data app php occ
|
||||||
|
```
|
||||||
|
|
||||||
# Running this image with docker-compose
|
# 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.
|
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.
|
||||||
|
|
Loading…
Reference in a new issue