# How to increase max asset upload filesize?

**URL:** <https://discourse.getcockpit.com/t/how-to-increase-max-asset-upload-filesize/2806>\
**Category:** Support\
**Created:** [June 13, 2023, 10:00am UTC](https://discourse.getcockpit.com/t/how-to-increase-max-asset-upload-filesize/2806 "2023-06-13T10:00:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alberto2000](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/alberto2000/32/1362_2.png) [@alberto2000](https://discourse.getcockpit.com/u/alberto2000)\
**Post date:** [June 13, 2023, 10:01am UTC](https://discourse.getcockpit.com/t/how-to-increase-max-asset-upload-filesize/2806/1 "2023-06-13T10:01:00Z")

</div>

I’m running Cockpit using Docker, where can I increase `upload_max_filesize` persistently?

---

<div class="post-metadata">

**Author:** ![alberto2000](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/alberto2000/32/1362_2.png) [@alberto2000](https://discourse.getcockpit.com/u/alberto2000)\
**Post date:** [June 20, 2023, 5:45pm UTC](https://discourse.getcockpit.com/t/how-to-increase-max-asset-upload-filesize/2806/2 "2023-06-20T17:45:38Z")

</div>

Figured it out. For anyone facing the same question, needed to bash into the container and copy `php.ini.development` to `php.ini` inside `/usr/local/etc/php`.
