Help Center>
Intelligent EdgeFabric>
FAQs>
Edge Application FAQs>
How Do I Control the Disk Space Occupied by a Container Engine?
Updated on 2022-02-21 GMT+08:00
How Do I Control the Disk Space Occupied by a Container Engine?
You can control the disk space occupied by a container engine by editing the daemon.json file.
Prerequisites
A CentOS is used.
Procedure
Run the following command to open the daemon.json file:
vi /etc/docker/daemon.json
Set storage-driver to devicemapper and set dm.basesize under storage-opts to the maximum disk space that Docker can use. In the following example, the disk space of the container engine is limited to 10 GB.
{ "storage-driver": "devicemapper", "storage-opts": [ "dm.basesize=10G" ] }
Parent topic: Edge Application FAQs
Edge Application FAQs FAQs
- What Do I Do If an Application Fails to Be Delivered to an Edge Node?
- What Do I Do If a Containerized Application Fails to Be Started on an Edge Node?
- What Do I Do If a Containerized Application Fails to Be Upgraded?
- What Do I Do If a Container Image Fails to Be Pulled?
- Why Cannot I View Application Logs and System Logs?
- How Do Applications Schedule GPU Resources?
- How Do I Control the Disk Space Occupied by a Container Engine?
- What Do I Do If a Containerized Application Cannot Access External IP Addresses
- What Do I Do If the Ascend AI Accelerator Card (NPU) Is Abnormal?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore