forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
33 lines
4.7 KiB
HTML
33 lines
4.7 KiB
HTML
<a name="swr_faq_0006"></a><a name="swr_faq_0006"></a>
|
|
|
|
<h1 class="topictitle1">Why Does an Image Fail to Be Uploaded Through a Container Engine Client?</h1>
|
|
<div id="body1515122341238"><div class="section" id="swr_faq_0006__section1912101817226"><h4 class="sectiontitle">denied: you do not have the permission</h4><p id="swr_faq_0006__p57691334182213"><strong id="swr_faq_0006__b191945515384">Problem</strong>: When you push an image to SWR through your container engine client, the operation fails with the following information returned.</p>
|
|
<p id="swr_faq_0006__p72611012217"><span class="parmname" id="swr_faq_0006__parmname6451229152113"><b>denied: you do not have the permission</b></span></p>
|
|
<p id="swr_faq_0006__p176121755752"><strong id="swr_faq_0006__b102700581388">Possible Causes</strong>:</p>
|
|
<ul id="swr_faq_0006__ul8265105961"><li id="swr_faq_0006__li42651557612">The organization name you specified has already been used by another user or the maximum number of organizations that you are allowed to create has been reached.</li><li id="swr_faq_0006__li1326565765">The <strong id="swr_faq_0006__b1346361661117">docker login</strong> command you used to log in to SWR is generated using the AK and SK of an IAM user who does not have the permission of the target organization.</li></ul>
|
|
<p id="swr_faq_0006__p165581334209"><strong id="swr_faq_0006__b10860142153717">Solutions</strong>:</p>
|
|
<ul id="swr_faq_0006__ul1255963313209"><li id="swr_faq_0006__li5559153315204">If the organization name has been registered by another user, create an organization and then upload the image.</li><li id="swr_faq_0006__li20559733112012">If the number of SWR organizations reaches the quota (5 per user), upload the image to an existing organization.</li><li id="swr_faq_0006__li5416175819345">If the IAM user does not have the permission of the target organization, log in as the cloud account and grant corresponding permissions to the IAM user and try again.</li></ul>
|
|
</div>
|
|
<div class="section" id="swr_faq_0006__section152456559226"><h4 class="sectiontitle">Message "tag does not exist: xxxxxx" or "An image does not exist locally with the tag: xxxxxx" Displayed</h4><p id="swr_faq_0006__p7688171062314"><strong id="swr_faq_0006__b3702519104112">Problem</strong>: When you push an image to SWR through your container engine client, the operation fails with the following information returned.</p>
|
|
<p id="swr_faq_0006__p20620174019217"><span class="parmname" id="swr_faq_0006__parmname78261260235"><b>tag does not exist: xxxxxx</b></span></p>
|
|
<p id="swr_faq_0006__p15552338152216">Or</p>
|
|
<p id="swr_faq_0006__p1821917612214"><span class="parmname" id="swr_faq_0006__parmname19760102511233"><b>An image does not exist locally with the tag: xxxxxx</b></span></p>
|
|
<p id="swr_faq_0006__p964244855015"><strong id="swr_faq_0006__b168541022204112">Possible cause</strong>: The image or image tag to be pushed does not exist.</p>
|
|
<p id="swr_faq_0006__p264204845012"><strong id="swr_faq_0006__b13814325164120">Solution</strong>: Run the <strong id="swr_faq_0006__b9821172512415">docker images</strong> command to view all the local images. Check the target image name and tag, and push the image again.</p>
|
|
</div>
|
|
<div class="section" id="swr_faq_0006__section49143156233"><h4 class="sectiontitle">name invalid: 'repository' is invalid</h4><p id="swr_faq_0006__p7337143018231"><strong id="swr_faq_0006__b26931827134114">Problem</strong>: When you push an image to SWR through your container engine client, the operation fails with the following information returned.</p>
|
|
<p id="swr_faq_0006__p11525113815234"><span class="parmname" id="swr_faq_0006__parmname1298112514245"><b>name invalid: 'repository' is invalid</b></span></p>
|
|
<p id="swr_faq_0006__p08414456136"><strong id="swr_faq_0006__b849063012413">Possible cause</strong>: The organization name or image name does not comply with the naming rules.</p>
|
|
<p id="swr_faq_0006__p14835173091714"><strong id="swr_faq_0006__b1223983394114">Solution</strong>: The regular expressions of the organization (namespace) name and image (repository) name are as follows:</p>
|
|
<p id="swr_faq_0006__p7626163514177">namespace: The value contains a maximum of 64 characters and must meet regular expression <strong id="swr_faq_0006__b13532136185515">^([a-z]+(?:(?:(?:_|__|[-]*)[a-z0-9]+)+)?)$</strong>.</p>
|
|
<p id="swr_faq_0006__p125759372151">repository: The value contains a maximum of 128 characters and must meet regular expression <strong id="swr_faq_0006__b323652135615">^([a-z0-9]+(?:(?:(?:_|__|[-]*)[a-z0-9]+)+)?)$</strong>.</p>
|
|
<p id="swr_faq_0006__p11991102812414">Specify a valid organization name or image name, and push the image again.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_faq_2000.html">Troubleshooting</a></div>
|
|
</div>
|
|
</div>
|
|
|