Help Center> ModelArts> Image Management> FAQs> How Do I Ensure That an Image Can be Saved Correctly Without Being Too Large?
Updated on 2024-06-21 GMT+08:00

How Do I Ensure That an Image Can be Saved Correctly Without Being Too Large?

Note the following:

  1. Select a small base image to create a notebook instance. In this case, there is enough space to install packages. The base image size displayed on SWR should not be larger than 6 GB.
  2. Save the image in /home/ma-user, but not in /home/ma-user/work. Save the datasets in the work directory.
  3. Avoid saving instances as images too frequently. Instead, install all the necessary packages at once and then save the image. Each time you save the image, it increases in size, and Docker's storage mechanism prevents resizing by clearing the disk.