Increaseing memory_limit in nextcloud docker container

Hi guys, Hope you are doing well, We are facing issue we are unable to increase the PHP memory_limit in nextcloud container because we checked there is no php.ini file there and we also tried with different command but these are not working please help me out to increase the memory limit.

Hi, see


Maybe we should remove sudo from the nextcloud container… Or add a banner to it… or something… :thinking:

I fear sudo is currently needed inside the container for other things. But yeah, a banner might be doable…

Created an issue: Add a banner to root user inside the nextcloud container for how to run occ commands · Issue #4793 · nextcloud/all-in-one · GitHub

1 Like

Is setting an env variable not the correct way to increase the limit? GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

The variable is the correct way

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.