创建镜像仓库
<p class="shortdesc">本文介绍如何创建镜像仓库。</p>
<section class="section prereq" id="CJ__prereq_kkc_zq4_dsb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已成功创建命名空间。</p>
</section>
<section class="section limitation" id="CJ__limitation_ulv_svg_v3b"><div class="tasklabel"><h2 class="doc-tairway">使用限制</h2></div>
<ul class="ul" id="CJ__ul_znj_k1t_dvb">
<li class="li">每个资源组最多创建1000个仓库,每个命名空间下的仓库数不限。</li>
<li class="li">每个镜像仓库需要属于某一命名空间,镜像仓库是区分地域的,目前仅支持华南(镜像存储在SFA、SFB的云主机或客户端访问)和华东(镜像存储在EFA、EFB的云主机或客户端访问)。</li>
</ul>
</section>
<section id="CJ__steps_h32_l1t_dvb"><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps" id="CJ__steps_h32_l1t_dvb"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="/console/ecr/namespace" target="_blank">容器镜像服务ECR控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击左侧导航栏的<span class="ph uicontrol">镜像仓库</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击页面右上角<span class="ph uicontrol">创建镜像仓库</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">根据如下信息,创建镜像仓库。</span>
<div class="itemgroup info">
<table class="table" id="CJ__table_i32_l1t_dvb"><caption></caption><colgroup><col><col></colgroup><thead class="thead">
<tr class="row">
<th class="entry colsep-1 rowsep-1" id="CJ__table_i32_l1t_dvb__entry__1">
<p class="p"> 配置项 </p>
</th>
<th class="entry colsep-1 rowsep-1" id="CJ__table_i32_l1t_dvb__entry__2">
<p class="p"> 说明 </p>
</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__1 ">
<p class="p"> 命名空间 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__2 ">
<p class="p">选定资源下的命名空间。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__1 ">
<p class="p"> 地域 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__2 ">
<p class="p">该仓库所属地域。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__1 ">
<p class="p"> 仓库名称 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__2 ">
<p class="p">仓库的名称,命名限制:长度为2~64个字符,可使用小写英文字母、数字,可使用分隔符“_”、“-”、“.”(分隔符不能在首位或末位)。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__1 ">
<p class="p"> 仓库类型 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__2 ">
<p class="p">必选,共享仓库或者私有仓库。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__1 ">
<p class="p"> (可选)免密拉取 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__2 ">
<p class="p">选中时代表允许客户在客户端没有login的状态下, 拉去镜像,但不允许push。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__1 ">
<p class="p"> 描述信息 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="CJ__table_i32_l1t_dvb__entry__2 ">
<p class="p">镜像的描述信息。 </p>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">确定</span>。</span>
</li></ol></section>
<section class="section result" id="CJ__result_qn4_l1t_dvb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">在<span class="ph uicontrol">镜像仓库</span>页面,可看到刚刚创建的镜像。</p>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!