From a29a9327f4507d0318e420a8ea666474b4bbbe77 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Thu, 8 Feb 2024 12:57:56 +0100 Subject: [PATCH] Update docker.md --- documentation/docs/admin/scripts/docker.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/documentation/docs/admin/scripts/docker.md b/documentation/docs/admin/scripts/docker.md index 92c3e3f8..f25791f6 100644 --- a/documentation/docs/admin/scripts/docker.md +++ b/documentation/docs/admin/scripts/docker.md @@ -6,6 +6,23 @@ sidebar_position: 9 Manage users docker containers and their information. +## Update Images + +OpenPanel currently provides two Docker images: `openpanel_apache` and `openpanel_nginx`, which you can utilize for your users. *Support for LiteSpeed will be introduced in upcoming updates. + +The script `opencli docker-update_images` serves the purpose of verifying the availability of newer images on our Docker registry server. If newer images are found, the script proceeds to download and update the existing Docker images locally. + +It's important to note that after updating, the newer Docker images will **NOT** modify any settings for existing users; the changes will only apply to new user accounts created with the updated images. + +To manually check for the availability of newer Docker images, execute the following command: + +```bash +opencli docker-update_images +``` + +In case you encounter any errors, rerun the command with the `--debug` flag. Subsequently, report the issue along with the debug output to [our community forums](https://community.openpanel.co/t/openadmin). + + ## Collect Stats The `collect_stats` script periodically checks resource usage for all users using the [docker stats](https://docs.docker.com/engine/reference/commandline/stats/) command.