Did a duckduckgo and found this post might answer your question.
To run occ inside a container something like this is needed:
docker exec --user www-data “nextcloud-container-name” php occ “your-command”
Did a duckduckgo and found this post might answer your question.
To run occ inside a container something like this is needed:
docker exec --user www-data “nextcloud-container-name” php occ “your-command”