Personal cloud storage with NextCloud running in Docker
Running ooc commands
First of all you need to access the NextCloud container bash using the command docker exec -it nextcloud /bin/bash
Once gained access, navigate to the occ folder using cd config/www/nextcloud/
From this moment on it is possible to execute occ commands with sudo -u abc php7 occ COMMAND_NAME
Fore safety reason, it is advised to set the NextCloud instance in maintenance mode using the command maintenance:mode --on