docker-library / owncloud

Docker Official Image packaging for ownCloud
101 stars 77 forks source link

make owncloud cli occ usable via docker exec #68

Closed martingabelmann closed 7 years ago

martingabelmann commented 8 years ago

as mentioned in #67 . it should be documented at the hub page? example usage: docker exec oc_container occ app:check calendar

lazyfrosch commented 8 years ago

Yes, we should add a section to docs, when the addition gets accepted

tianon commented 8 years ago

Sorry for the delay! I think we'd have better parity with the documentation for this tool (https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/occ_command.html) if we consider this a strictly documentation issue instead.

For example, the following have nice symmetry IMO:

$ sudo -u www-data php occ status # example from the docs
$ docker exec -u www-data my-owncloud php occ status
martingabelmann commented 8 years ago

I agree. Minimal complexity but the same result (since the docs should contain something about this anyway).