Creating and Uploading a Custom Image
ModelArts allows you to use custom images to create training jobs and AI applications. Before creating and uploading a custom image, understand the following information:
- Software Repository for Container (SWR)
SWR provides easy, secure, and reliable management over Docker container images throughout their lifecycle, facilitating the deployment of containerized applications. You can push, pull, and manage container images through SWR console, SWR APIs, or community Command Line Interface (CLI).
Obtain the custom images used by ModelArts for training or creating AI applications from the SWR service management list. Upload the custom images you create to SWR.
- Specifications for custom images. For details about how to use a custom image for a training job, see Specifications for Custom Images Used for Training Jobs. For details about how to use a custom image for creating an AI application, see Custom Image Specifications for Creating AI Applications.
Creating and Uploading a Custom Image
- Use a local host or purchase a HUAWEI CLOUD cloud server to set up the Docker environment.
- Obtain the basic image from the local environment.
- Compile a Dockerfile based on your requirements to build a custom image. For details about how to efficiently compile Docker files, see Software Repository for Container Best Practices.
- For details about how to create a custom image for a training job, see Example: Creating a Training Job Using a Custom Image.
- After a custom image is created, upload the image to your SWR by referring to Uploading an Image Through a Container Engine Client.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot