瀏覽代碼

Update 0.1.8.md

Stefan Pejcic 1 年之前
父節點
當前提交
2e4a79c87d
共有 1 個文件被更改,包括 29 次插入1 次删除
  1. 29 1
      documentation/docs/changelog/0.1.8.md

+ 29 - 1
documentation/docs/changelog/0.1.8.md

@@ -16,7 +16,7 @@ Not yet released.
 - Resolved issue regarding locales not being installed during OpenPanel installation.
 - Fixed bug with mysql on Virtualizor: `Fatal glibc error: CPU does not support x86-64-v2`
 - Fixed [bug with PyArmor encoding domains module](https://github.com/stefanpejcic/OpenPanel/issues/109)
-
+- [`opencli docker` commands](#opencli-docker)
 
 ### 💅 Polish
 - `opencli ssl-hostname` script now tries to restart all required services if any are failed.
@@ -29,3 +29,31 @@ Not yet released.
 ### allinurl/goaccess
 
 GoAccess is no longer directly installed on the server; instead, it [runs as a Docker container](https://hub.docker.com/r/allinurl/goaccess) when necessary. This setup ensures that resources are utilized only when required and prevents any utilization of system services during idle periods. When collecting domain statistics, one container is initiated per domain name.
+
+
+### opencli docker
+
+Several new OpenCLI commands are now available to manage the Docker service:
+
+- 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 (ram and cpu) for all containers combined.
+  ```bash
+  opencli docker-limits [--apply | --read]
+  ```
+- Update Images
+  Download [official docker images](https://dev.openpanel.co/images/browse.html) for OpenPanel:
+  ```bash
+  opencli docker-update_images
+  ```
+- Usage Stats Cleanup
+  Rotate resource usage logs for all users according to the [resource_usage_retention](https://dev.openpanel.co/cli/commands.html#resource-usage-retention) setting.
+
+  ```bash
+  opencli docker-usage_stats_cleanup
+  ```
+