What Do I Do If Error "container size %dG is greater than threshold %dG" Is Displayed When I Save an Image?
Symptom
When an image is saved in a notebook instance, error "container size %dG is greater than threshold %dG" is displayed.
Possible Causes
The size of the notebook container exceeded the threshold.
Solution
Reduce the container size. The size of a notebook container consists of the image size and the size of the files newly installed in the container. To resolve this issue, use either of the following methods:
- Reduce the size of the files newly installed in the container.
- Delete the files newly installed in a notebook instance. For example, if a large number of files have been downloaded to the notebook instance, delete them. This method applies only to directories other than the /home/ma-user/work and /cache directories. The persistent storage data in home/ma-user/work will not be stored in the created container image, and the temporary files stored in /cache do not consume the container storage space.
- If no file can be deleted or it is unknown which files can be deleted, use the same image to create a notebook instance. When using the new notebook instance, minimize software package installations or file downloads to reduce the container size.