Updated on 2024-02-28 GMT+08:00

Creating a Custom Image

You can create a custom image in any of the following ways:

  • Method 1: Use a preset image of notebook instances to create a development environment instance. Then, install and configure dependencies in the environment. After the configuration, use the image saving function provided by the development environment to save the running instance as a custom container image. For details, see Saving a Notebook Instance as a Custom Image.
  • Method 2: Use ModelArts base images and image creation templates to write a Dockerfile and create your own image on a notebook instance. Then, register the image to create a new development environment based on your needs. For details, see Creating and Using a Custom Image in Notebook.
  • Method 3: Use ModelArts base images or third-party images to write a Dockerfile on an ECS and to reconstruct the ModelArts base images or third-party images. This allows you to customize Docker images that meet ModelArts requirements and push the images to SWR. For details, see Creating a Custom Image on an ECS and Using It in Notebook.