检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
等待“状态”变为“正常”,且“IP”不为空时,则说明内网访问已创建成功。 图2 内网访问 创建完成后,就可以从已添加的内网IP网段访问仓库。 创建内网访问会在VPC终端节点(VPCEP)服务下创建一个对应的VPC终端节点,请勿删除,否则会影响访问。
设置镜像加速器 由于运营商网络原因,会导致您拉取第三方镜像仓库的镜像(例如Docker Hub)变慢甚至下载失败。华为云容器镜像服务提供了镜像下载加速功能,对部分常用的开源镜像下载进行加速。 SWR镜像加速器是面向个人开发者的服务,仅限于支持个人开发场景,不允许有再次封装或商业用途
获取镜像仓库下的触发器列表 功能介绍 获取镜像仓库下的触发器列表 接口约束 无 调用方法 请参见如何调用API。 URI GET /v2/manage/namespaces/{namespace}/repos/{repository}/triggers 表1 路径参数 参数 是否必选
永久有效为forever description 否 String 描述。
{ "access_domain" : "huawei", "permit" : "read", "deadline" : "2018-10-01T16:00:00.000Z", "description" : "description" } 响应示例 无 SDK
description 否 String 镜像仓库的描述信息。
description 否 String 镜像仓库的描述信息。
enable_sm3 Boolean 是否支持国密场景 enable_image_sync Boolean 是否支持镜像同步 enable_cci_service Boolean 是否支持对接cci服务 enable_image_label Boolean 是否支持镜像标签 enable_pipeline
" : "description", "creator_id" : "0504186e6a8010e01f3ec009a7279baa", "creator_name" : "xxx", "created" : "2021-06-10T08:14:42.56632Z",
" : "description", "creator_id" : "fb3f175c1fd146ab8cdae3272be6107b", "creator_name" : "huawei", "created" : "2017-04-08T14:12:23Z",
repository=test&category=linux&description=test&is_public=false 响应示例 {} 查询镜像仓库概要信息 接口相关信息 URI格式:GET /v2/manage/namespaces/{namespace}/repos/{
公网访问 该场景下安装容器引擎的机器为云上的ECS或CCE节点,机器与容器镜像仓库不在同一区域,上传下载镜像走公网链路,机器需要绑定弹性公网IP。详细配置方法请参考公网访问。
Endpoint 指定承载REST服务端点的服务器域名或IP,不同服务不同区域的Endpoint不同,您可以从地区和终端节点获取。 例如IAM服务在“华北-北京四 ”区域的Endpoint为“iam.cn-north-4.myhuaweicloud.com”。
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 id Long 仓库编号 ns_id Long 组织编号 name String 仓库名称 category String 仓库类型(计划改造,每个镜像会有多个lable标示) description String
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
"is_domain": false, "parent_id": "65382********************14e684b", "name": "project_name", "description
支持审计的关键操作列表 表1 云审计服务支持的共享版SWR操作列表 操作名称 资源类型 事件名称 镜像上传 images postMultipartImagePackage 获取登录指令 dockerlogincmd createDockerConfig 获取概览信息 overview
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
内网访问不需要额外流量费,因为您购买服务器、EIP的费用已支付。 如果您的机器与镜像仓库在不同区域,通过公网才能访问仓库,下载跨区域仓库的镜像需要节点可以访问公网。 控制台页面的镜像可以下载到本地吗?