Help Center/ ModelArts/ Drawer/ DevEnviron/ Creating a Custom Image
Updated on 2024-12-31 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 Creating a Custom Image Using the Image Saving Function.
  • 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 development environment based on your needs. For details, see Creating a Custom Image Using Dockerfile.
    • 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 and push the images to SWR. For details, see Creating a Custom Image on ECS and Using It.