# Nextcloud really slow after installation

**URL:** <https://help.nextcloud.com/t/nextcloud-really-slow-after-installation/74719>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** docker, nc18-nextcloud-hub\
**Created:** [March 21, 2020, 9:23pm UTC](https://help.nextcloud.com/t/nextcloud-really-slow-after-installation/74719 "2020-03-21T21:23:54Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![KarlF12](https://help.nextcloud.com/user_avatar/help.nextcloud.com/karlf12/32/46873_2.png) [@KarlF12](https://help.nextcloud.com/u/KarlF12)\
**Post date:** [April 14, 2020, 3:20pm UTC](https://help.nextcloud.com/t/nextcloud-really-slow-after-installation/74719/9 "2020-04-14T15:20:34Z")

</div>

I have an [example in my guide](https://help.nextcloud.com/t/howto-ubuntu-docker-nextcloud-talk-collabora/76430) for how to run occ.

If the www-data user in the Docker container can’t access OCC, then you have something else going on because in a stock setup this works as documented.

You can add a bash alias outside the container to make life easier.

```
echo alias occ=\'docker exec -it -u www-data nextcloud php occ\' >> ~/.bashrc

. ~/.bashrc

```

Then you can simply type occ at the host’s prompt and the command will run as www-data inside the container.

Also, you need to resolve _all warnings_ on your system, and make sure you [set up memory caching](https://docs.nextcloud.com/server/18/admin_manual/configuration_server/caching_configuration.html).

---

_[View the full topic](https://help.nextcloud.com/t/nextcloud-really-slow-after-installation/74719)._
