Skip to content

Get immediate

Dev Support

on our community forums

Docker

Manage Docker settings: update docker images, set global resource limits for docker, etc.

Collect Stats

To collect docker resource usage information (cpu, ram, i/o) for all users:

bash
opencli docker-collect_stats

Limits

Set global docker limits (storage, ram and cpu) for all containers combined.

bash
opencli docker-limits [--apply | --read]

To view current limits:

bash
opencli docker-limits --read

Example:

bash
root@stefan:~# opencli docker-limits --read
[DOCKER]
max_ram=90
max_cpu=95
max_disk=114

CPU and RAM limit

To apply new limits for CPU % and RAM %:

bash
opencli docker-limits --apply

Storage (disk) limit

To increase storage (disk) allocated to Docker, pass the size in GB:

bash
opencli docker-limits --apply 100

Update Images

Download official docker images for OpenPanel:

bash
opencli docker-update_images

Usage Stats Cleanup

Rotate resource usage logs for all users according to the resource_usage_retention setting.

bash
opencli docker-usage_stats_cleanup

Released under the MIT License.