run a command inside nextcloud docker

3 posts in this topic Last Reply

Recommended Posts

Hi there


I'm using nextcloud in a docker container and want do run a command inside the container with the plugin user script.


The command:

sudo -u abc php7 /config/www/nextcloud/occ preview:generate-all -vvv

How can I add it in a user script on unraid to run it in the container?


any help is greatly appreciated.


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.