Help Center/ ModelArts/ Troubleshooting/ DevEnviron/ Save an Image Failures/ What Do I Do If Error "The container size (xG) is greater than the threshold (25G)" Is Reported When I Save an Image?
Updated on 2024-04-11 GMT+08:00

What Do I Do If Error "The container size (xG) is greater than the threshold (25G)" Is Reported When I Save an Image?

Symptom

The error The container size (30G) is greater than the threshold (25G) is reported when an image is saved, and the image fails to be created.

Possible Causes

To save an image, you need to run the docker commit command on the agent of a resource cluster node. Administrative data will be uploaded and updated automatically. Each time you run the command, the image becomes larger. After the image is saved for multiple times, its actual size is larger than it shows. If the image is too large, various problems may occur. You can rebuild the original image environment and save the image to solve the problem.

Solution

Rebuild the original image environment. You can use a base image with minimized installation and run the dependencies. Clear the installation cache and save the image.