Nextcloud resources
·1 min
If I want to run some Nextcloud commands inside the Docker container, here’s how I can login from the host into the container with the right user privileges:
docker exec -it -u 33 docker-nextcloud_app-1 bash
Or, to run a command as root from outside:
docker-compose exec nextcloud_app whoami
Resources: