openpanel/documentation/docs/admin/services/docker.md
2024-07-28 21:11:11 +02:00

60 lines
2.0 KiB
Markdown

---
sidebar_position: 3
---
# Docker
![openadmin docker settings](/img/admin/adminpanel_docker_settings.png)
To download Docker images, click the "update images" button.
To remove an unnecessary image, click the delete button next to the image and confirm your action in the pop-up modal.
## Docker images
Docker images serve as the foundation for OpenPanel user accounts, determining the technology stack available to the user.
### Update images
Updating Docker images involves downloading the latest versions from the openpanel servers, and these updated images will be used only for new users. Existing users' setups will remain unaffected.
To update docker images click on the 'Update images' button:
![openadmin docker update 1](/img/admin/openadmin_docker_update1.png)
### Delete images
To remove an unnecessary image, click the delete button next to the image and confirm in the pop-up modal:
Step 1. | Step 2.
:-------------------------:|:-------------------------:
![openadmin docker delete image step 1](/img/admin/openadmin_docker_delete1.png) | ![openadmin docker delete image step 2](/img/admin/openadmin_docker_delete2.png)
:::info
image can not be deleted if it is in use.
:::
### Add images
Currently images can only be added from terminal: [`docker pull`](https://docs.docker.com/reference/cli/docker/image/pull/)
## Docker info
To view current [docker system info](https://docs.docker.com/reference/cli/docker/system/info/) click on the ![openadmin docker info 1](/img/admin/openadmin_docker_info1.png) button:
![openadmin docker info 1](/img/admin/openadmin_docker_info2.png)
## Total Resource Usage
Under 'Docker Resource Usage Settings' you can configure the maximum memory and CPU percentages of server resources available for all users' Docker containers.
![openadmin docker cpu settings](/img/admin/openadmin_docker_cpu.png)
We advise against setting it above 90% ([BUG#117:Slow TTFB caused by the docker_limit.slice ckgroup ](https://github.com/stefanpejcic/OpenPanel/issues/117)).