检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
基本概念 镜像(Image) 容器镜像是一个模板,是容器应用打包的标准格式,在部署容器化应用时可以指定镜像,镜像可以来自于镜像中心或者用户的私有Registry。例如一个容器镜像可以包含一个完整的Ubuntu操作系统环境,里面仅安装了用户需要的应用程序及其依赖文件。容器镜像用于创建容器
使用docker save制作镜像压缩包时,请用{image}:{tag},不要用image id,否则无法在swr页面上传。
client.create_namespace(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id
client.create_secret(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id
docker images # docker images REPOSITORY TAG IMAGE ID CREATED SIZE 2048 latest 8d421c503ed0 About a minute
client.update_trigger(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id
client.update_repo_domains(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id
client.create_repo(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id
client.update_repo(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id
client.create_repo_domains(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id