AI开发平台MODELARTS-使用ma-cli image build命令在ModelArts Notebook中进行镜像构建:示例

时间:2024-07-03 18:17:23

示例

在ModelArts Notebook里进行镜像构建。

ma-cli image build .ma/customize_from_ubuntu_18.04_to_modelarts/Dockerfile -swr notebook_test/my_image:0.0.1

其中“.ma/customize_from_ubuntu_18.04_to_modelarts/Dockerfile”为Dockerfile文件所在路径,“notebook_test/my_image:0.0.1”为构建的新镜像的SWR路径。

support.huaweicloud.com/devtool-modelarts/devtool-modelarts_0313.html