SWR UMN: Permission description is added
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>
BIN
docs/swr/umn/en-us_image_0000001127297210.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 19 KiB |
BIN
docs/swr/umn/en-us_image_0000001361665969.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
docs/swr/umn/en-us_image_0000001507528236.png
Normal file
After Width: | Height: | Size: 361 B |
BIN
docs/swr/umn/en-us_image_0000001507688112.png
Normal file
After Width: | Height: | Size: 439 B |
BIN
docs/swr/umn/en-us_image_0000001539405909.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
docs/swr/umn/en-us_image_0000001539605245.png
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
docs/swr/umn/en-us_image_0000001558527697.png
Normal file
After Width: | Height: | Size: 131 B |
19
docs/swr/umn/en-us_topic_0000001488156484.html
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<a name="EN-US_TOPIC_0000001488156484"></a><a name="EN-US_TOPIC_0000001488156484"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Permissions</h1>
|
||||||
|
<div id="body0000001488156484"><p id="EN-US_TOPIC_0000001488156484__p0685113015357">If you need to assign different permissions to employees in your enterprise to access your SWR resources, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, enabling secure access to your cloud resources.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001488156484__p1384383281811">With IAM, you can use your account to create IAM users, and assign permissions to the users to control their access to specific cloud resources. For example, some software developers in your enterprise need to use SWR resources but should not be allowed to delete the resources or perform any other high-risk operations. In this scenario, you can create IAM users for the software developers and grant them only the permissions required for using SWR resources.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001488156484__p753235631117">If your account does not require individual IAM users for permissions management, skip this section.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001488156484__p13532356101110">IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see <a href="https://docs.otc.t-systems.com/en-us/usermanual/iam/iam_01_0026.html" target="_blank" rel="noopener noreferrer">IAM Service Overview</a>.</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ul class="ullinks">
|
||||||
|
<li class="ulchildlink"><strong><a href="en-us_topic_0000001488156664.html">SWR Permissions</a></strong><br>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="familylinks">
|
||||||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_pd_index.html">Service Overview</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
54
docs/swr/umn/en-us_topic_0000001488156664.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<a name="EN-US_TOPIC_0000001488156664"></a><a name="EN-US_TOPIC_0000001488156664"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">SWR Permissions</h1>
|
||||||
|
<div id="body0000001488156664"><p id="EN-US_TOPIC_0000001488156664__p153069485316">By default, new IAM users do not have any permissions granted. You need to add them to one or more groups and attach permissions policies or roles to these groups. In this way, the users can inherit permissions from the groups and perform operations on specific cloud resources.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001488156664__p5306134813315">SWR is a project-level service deployed and accessed in specific physical regions. To assign AOM permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If <strong id="EN-US_TOPIC_0000001488156664__b1649015468535">All projects</strong> is selected, the permissions will take effect for the user group in all region-specific projects. When accessing SWR, the users need to switch to a Region where they have been authorized to use this service.</p>
|
||||||
|
|
||||||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001488156664__table1409182914134" frame="border" border="1" rules="all"><caption><b>Table 1 </b>SWR permissions</caption><thead align="left"><tr id="EN-US_TOPIC_0000001488156664__row1346222921318"><th align="left" class="cellrowborder" valign="top" width="20.437956204379564%" id="mcps1.3.3.2.4.1.1"><p id="EN-US_TOPIC_0000001488156664__p246217292138">Name</p>
|
||||||
|
</th>
|
||||||
|
<th align="left" class="cellrowborder" valign="top" width="56.4043595640436%" id="mcps1.3.3.2.4.1.2"><p id="EN-US_TOPIC_0000001488156664__p146292918139">Description</p>
|
||||||
|
</th>
|
||||||
|
<th align="left" class="cellrowborder" valign="top" width="23.15768423157684%" id="mcps1.3.3.2.4.1.3"><p id="EN-US_TOPIC_0000001488156664__p446218291138">Type</p>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody><tr id="EN-US_TOPIC_0000001488156664__row1462142915137"><td class="cellrowborder" valign="top" width="20.437956204379564%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001488156664__p1196518294159">SWR Administrator</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="56.4043595640436%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001488156664__p0462172991319">SWR administrator permissions, including all SWR permissions.</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="23.15768423157684%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001488156664__p18683113815502">System-defined role</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr id="EN-US_TOPIC_0000001488156664__row112721016495"><td class="cellrowborder" valign="top" width="20.437956204379564%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001488156664__p1327319168913">Tenant Administrator</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="56.4043595640436%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001488156664__p10955185614177">Administrator permissions for all services except IAM, including all SWR permissions.</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="23.15768423157684%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001488156664__p12203918495">System-defined role</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr id="EN-US_TOPIC_0000001488156664__row157318307917"><td class="cellrowborder" valign="top" width="20.437956204379564%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001488156664__p47312307916">Tenant Guest</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="56.4043595640436%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001488156664__p147317301899">Read-only permissions for all services except IAM, including permissions such as image pull.</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="23.15768423157684%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001488156664__p016539184915">System-defined role</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr id="EN-US_TOPIC_0000001488156664__row19269191915109"><td class="cellrowborder" valign="top" width="20.437956204379564%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001488156664__p172691119131018">ServiceStage Developer</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="56.4043595640436%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001488156664__p4973747191915">ServiceStage developer permissions, including permissions such as image pull.</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="23.15768423157684%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001488156664__p112123914497">System-defined role</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="note" id="EN-US_TOPIC_0000001488156664__note157450580343"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001488156664__ul12448704536"><li id="EN-US_TOPIC_0000001488156664__li9448130145311"><a href="https://docs.otc.t-systems.com/en-us/usermanual/swr/swr_01_0015.html" target="_blank" rel="noopener noreferrer">Granting user permissions</a> enables you to grant read, write, and management permissions to different users for them to access either a specific image or images of a specific organization.</li></ul>
|
||||||
|
</div></div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="familylinks">
|
||||||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001488156484.html">Permissions</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
13
docs/swr/umn/en-us_topic_0000001488470084.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<a name="EN-US_TOPIC_0000001488470084"></a><a name="EN-US_TOPIC_0000001488470084"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Why Does Organization Creation Fail?</h1>
|
||||||
|
<div id="body0000001488470084"><p id="EN-US_TOPIC_0000001488470084__p3979113412920">Symptom: The creation of an organization fails, and a message is displayed indicating that the organization already exists. However, the organization is not found on the <strong id="EN-US_TOPIC_0000001488470084__b11236105181918">Organizations</strong> page.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001488470084__p92961849193313">Solution: Change the organization name to one which is globally unique in the Region.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001488470084__p4179858193211">If a message is displayed indicating that the organization already exists, the organization name may have been used by another user. Use another organization name.</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="familylinks">
|
||||||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_faq_1001.html">General FAQs</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
15
docs/swr/umn/en-us_topic_0000001488475196.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<a name="EN-US_TOPIC_0000001488475196"></a><a name="EN-US_TOPIC_0000001488475196"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Other FAQs</h1>
|
||||||
|
<div id="body0000001488475196"></div>
|
||||||
|
<div>
|
||||||
|
<ul class="ullinks">
|
||||||
|
<li class="ulchildlink"><strong><a href="en-us_topic_0000001539235197.html">Why Does a CCE Workload Cannot Pull an Image from SWR and the Message Indicating "Not Logged In" Is Displayed?</a></strong><br>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="familylinks">
|
||||||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_faq_index.html">FAQs</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
34
docs/swr/umn/en-us_topic_0000001539235197.html
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<a name="EN-US_TOPIC_0000001539235197"></a><a name="EN-US_TOPIC_0000001539235197"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Why Does a CCE Workload Cannot Pull an Image from SWR and the Message Indicating "Not Logged In" Is Displayed?</h1>
|
||||||
|
<div id="body0000001539235197"><p id="EN-US_TOPIC_0000001539235197__p07341250171013">If a CCE workload cannot pull an SWR image and the message indicating "Not logged in" is displayed, check whether the YAML file of the workload contains the <strong id="EN-US_TOPIC_0000001539235197__b1544917514414">imagePullSecrets</strong> field and whether the value of <strong id="EN-US_TOPIC_0000001539235197__b3513124445">name</strong> is fixed to <strong id="EN-US_TOPIC_0000001539235197__b89821155449">default-secret</strong>.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001539235197__p1936551916148">Example: </p>
|
||||||
|
<pre class="screen" id="EN-US_TOPIC_0000001539235197__screen128401642164">apiVersion: extensions/v1beta1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: nginx
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: nginx
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: nginx
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: nginx
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: nginx
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: default-secret</pre>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="familylinks">
|
||||||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001488475196.html">Other FAQs</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
27
docs/swr/umn/en-us_topic_0000001539549873.html
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<a name="EN-US_TOPIC_0000001539549873"></a><a name="EN-US_TOPIC_0000001539549873"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Are There Quotas for SWR Resources?</h1>
|
||||||
|
<div id="body0000001539549873"><p id="EN-US_TOPIC_0000001539549873__p6165202004218">No quotas are imposed on SWR images. You can push as many images as you need.</p>
|
||||||
|
<p id="EN-US_TOPIC_0000001539549873__p1694536144218">Quotas are imposed on the number of organizations a user can create, as shown in <a href="#EN-US_TOPIC_0000001539549873__table88365720443">Table 1</a>.</p>
|
||||||
|
|
||||||
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001539549873__table88365720443"></a><a name="table88365720443"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001539549873__table88365720443" frame="border" border="1" rules="all"><caption><b>Table 1 </b>SWR resource quotas</caption><thead align="left"><tr id="EN-US_TOPIC_0000001539549873__swr_03_0007_row73901640163813"><th align="left" class="cellrowborder" valign="top" width="28.799999999999997%" id="mcps1.3.3.2.3.1.1"><p id="EN-US_TOPIC_0000001539549873__swr_03_0007_p7390184073812">Resource Type</p>
|
||||||
|
</th>
|
||||||
|
<th align="left" class="cellrowborder" valign="top" width="71.2%" id="mcps1.3.3.2.3.1.2"><p id="EN-US_TOPIC_0000001539549873__swr_03_0007_p639044017387">Quota</p>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody><tr id="EN-US_TOPIC_0000001539549873__swr_03_0007_row103901940113817"><td class="cellrowborder" valign="top" width="28.799999999999997%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001539549873__swr_03_0007_p8390194015383">Organization</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="71.2%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001539549873__swr_03_0007_p19390204083811">5</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="familylinks">
|
||||||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_faq_1001.html">General FAQs</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 1014 B |
@ -53,6 +53,12 @@ $ docker save -o nginx-all.tar nginx
|
|||||||
$ docker save -o nginx-latest.tar nginx:latest</pre>
|
$ docker save -o nginx-latest.tar nginx:latest</pre>
|
||||||
</p></li></ol>
|
</p></li></ol>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="section" id="swr_01_0006__section91019326453"><h4 class="sectiontitle">Importing an Image File</h4><p id="swr_01_0006__p526190114619">This section describes how to import an image package as an image using the <strong id="swr_01_0006__b6344142292014">docker load</strong> command.</p>
|
||||||
|
<p id="swr_01_0006__p369014461525">There are two modes:</p>
|
||||||
|
<p id="swr_01_0006__p569024617525"><strong id="swr_01_0006__b11981742102010">docker load < </strong><strong id="swr_01_0006__b14982742142014"><em id="swr_01_0006__i2981124216204">Path/File name.tar</em></strong></p>
|
||||||
|
<p id="swr_01_0006__p069054605218"><strong id="swr_01_0006__b191434657852744">docker load --input </strong><strong id="swr_01_0006__b214128217552744"><em id="swr_01_0006__i7251233352744">Path/File name.tar</em></strong> or <strong id="swr_01_0006__b13579767752744">docker load -i </strong><strong id="swr_01_0006__b78479332852744"><em id="swr_01_0006__i153361380852744">Path/File name.tar</em></strong></p>
|
||||||
|
<p id="swr_01_0006__p1569084695210">Sample:</p>
|
||||||
|
<pre class="screen" id="swr_01_0006__screen18601429105914">$ docker load --input fedora.tar</pre>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div></div>
|
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<a name="swr_01_0009"></a><a name="swr_01_0009"></a>
|
<a name="swr_01_0009"></a><a name="swr_01_0009"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Introduction</h1>
|
<h1 class="topictitle1">Overview</h1>
|
||||||
<div id="body1562136482770"><p id="swr_01_0009__p41503327298">SoftWare Repository for Container (SWR) allows you to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applications.</p>
|
<div id="body1562136482770"><p id="swr_01_0009__p41503327298">SoftWare Repository for Container (SWR) allows you to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applications.</p>
|
||||||
<p id="swr_01_0009__p449454582712">SWR provides private image repositories and fine-grained permission management, allowing you to grant different access permissions, namely, read, write, and edit, to different users. </p>
|
<p id="swr_01_0009__p449454582712">SWR provides private image repositories and fine-grained permission management, allowing you to grant different access permissions, namely, read, write, and edit, to different users. </p>
|
||||||
<div class="fignone" id="swr_01_0009__fig798210308575"><span class="figcap"><b>Figure 1 </b>How SWR works</span><br><span><img id="swr_01_0009__image209821630195718" src="en-us_image_0000001200587685.png"></span></div>
|
<div class="fignone" id="swr_01_0009__fig798210308575"><span class="figcap"><b>Figure 1 </b>How SWR works</span><br><span><img id="swr_01_0009__image209821630195718" src="en-us_image_0000001200587685.png" width="NaN" height="NaN"></span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
<h1 class="topictitle1">Uploading an Image Through the Client</h1>
|
<h1 class="topictitle1">Uploading an Image Through the Client</h1>
|
||||||
<div id="body1557200952787"><div class="section" id="swr_01_0011__section582103934115"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0011__en-us_topic_0083050718_p473620416297">This section walks you through the steps of uploading an image to SWR through the client by taking the <strong id="swr_01_0011__b296443213103">nginx:v1</strong> image built in <a href="swr_01_0006.html">Basics of the Container Engine</a> as an example. Uploading an image through the client is to run Docker commands on the client where Docker is installed to push the image to an image repository of SWR.</p>
|
<div id="body1557200952787"><div class="section" id="swr_01_0011__section582103934115"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0011__en-us_topic_0083050718_p473620416297">This section walks you through the steps of uploading an image to SWR through the client by taking the <strong id="swr_01_0011__b296443213103">nginx:v1</strong> image built in <a href="swr_01_0006.html">Basics of the Container Engine</a> as an example. Uploading an image through the client is to run Docker commands on the client where Docker is installed to push the image to an image repository of SWR.</p>
|
||||||
<div class="note" id="swr_01_0011__note3916204819294"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_0011__p15938248172914">Each image layer uploaded through the client cannot exceed 10 GB.</p>
|
|
||||||
</div></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0011__section1577223318127"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="swr_01_0011__ul5266946131218"><li id="swr_01_0011__li4266124615129">Each image layer uploaded through the client cannot exceed 10 GB.</li><li id="swr_01_0011__li1817924931213">The Docker client version must be 1.11.2 or later.</li></ul>
|
<div class="section" id="swr_01_0011__section1577223318127"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="swr_01_0011__ul5266946131218"><li id="swr_01_0011__li4266124615129">Each image layer uploaded through the client cannot exceed 10 GB.</li><li id="swr_01_0011__li1817924931213">The Docker client version must be 1.11.2 or later.</li></ul>
|
||||||
</div>
|
</div>
|
||||||
@ -12,8 +10,8 @@
|
|||||||
"{<em id="swr_01_0011__i1161534114384">Intranet address</em>}"
|
"{<em id="swr_01_0011__i1161534114384">Intranet address</em>}"
|
||||||
]
|
]
|
||||||
}</pre>
|
}</pre>
|
||||||
<p id="swr_01_0011__p8956203182619">To obtain the value of {<em id="swr_01_0011__i117981610135316">Intranet address</em>}, log in to the SWR console. On the <strong id="swr_01_0011__b038195013546">Dashboard</strong> page, click <strong id="swr_01_0011__b97039136541">Generate Login Command</strong> and obtain the private network address (IP:20202) in the private network command.</p>
|
<p id="swr_01_0011__p8956203182619">To obtain the value of {<em id="swr_01_0011__i14342185635312">Intranet address</em>}, log in to the SWR console. On the <strong id="swr_01_0011__b734215685315">Dashboard</strong> page, click <strong id="swr_01_0011__b1234215568536">Generate Login Command</strong> and obtain the private network address in the private network command.</p>
|
||||||
<div class="fignone" id="swr_01_0011__fig1384619914343"><span class="figcap"><b>Figure 1 </b>Obtaining the private network address</span><br><span><img id="swr_01_0011__image484699143414" src="en-us_image_0000001201043047.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="fignone" id="swr_01_0011__fig1384619914343"><span class="figcap"><b>Figure 1 </b>Obtaining the private network address</span><br><span><img id="swr_01_0011__image484699143414" src="en-us_image_0000001201043047.png" width="465.5" height="287.747628" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
<div class="note" id="swr_01_0011__note4723191216403"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_0011__p29859408426">If <strong id="swr_01_0011__b1735824265917">insecure-registry</strong> has been configured in the <strong id="swr_01_0011__b1493124515915">DOCKER_OPTS</strong> configuration item in the <span class="filepath" id="swr_01_0011__filepath62026105463"><b>/etc/default/docker</b></span> file, you do not need to modify the <span class="filepath" id="swr_01_0011__filepath42061724124414"><b>/etc/docker/daemon.json</b></span> file.</p>
|
<div class="note" id="swr_01_0011__note4723191216403"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_0011__p29859408426">If <strong id="swr_01_0011__b1735824265917">insecure-registry</strong> has been configured in the <strong id="swr_01_0011__b1493124515915">DOCKER_OPTS</strong> configuration item in the <span class="filepath" id="swr_01_0011__filepath62026105463"><b>/etc/default/docker</b></span> file, you do not need to modify the <span class="filepath" id="swr_01_0011__filepath42061724124414"><b>/etc/docker/daemon.json</b></span> file.</p>
|
||||||
<p id="swr_01_0011__p639815514441">Run the following command to add the private network IP address to the end of the <strong id="swr_01_0011__b13228132015016">DOCKER_OPTS</strong> configuration item:</p>
|
<p id="swr_01_0011__p639815514441">Run the following command to add the private network IP address to the end of the <strong id="swr_01_0011__b13228132015016">DOCKER_OPTS</strong> configuration item:</p>
|
||||||
<p id="swr_01_0011__p71221025134512"><strong id="swr_01_0011__b596713013451">vi /etc/default/docker</strong></p>
|
<p id="swr_01_0011__p71221025134512"><strong id="swr_01_0011__b596713013451">vi /etc/default/docker</strong></p>
|
||||||
@ -25,7 +23,7 @@
|
|||||||
</li></ol>
|
</li></ol>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0011__en-us_topic_0083050718_section862311112816"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_ol0471564418"><li id="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_li58001655123"><a name="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_li58001655123"></a><a name="en-us_topic_0112596104_en-us_topic_0075378957_li58001655123"></a><span>Access SWR.</span><p><ol type="a" id="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_ol48001255629"><li id="swr_01_0011__en-us_topic_0112596104_li20909134812497">Log in to the SWR console and the VM running the container engine as the <strong id="swr_01_0011__b1433105512515">root</strong> user. </li><li id="swr_01_0011__en-us_topic_0112596104_li182568055016"><a name="swr_01_0011__en-us_topic_0112596104_li182568055016"></a><a name="en-us_topic_0112596104_li182568055016"></a>In the navigation pane on the left, choose <span class="uicontrol" id="swr_01_0011__uicontrol195121454132813"><b>My Images</b></span> and then click <span class="uicontrol" id="swr_01_0011__uicontrol185181654152816"><b>Upload Through Client</b></span>. On the page displayed, click <span class="uicontrol" id="swr_01_0011__uicontrol3518195442815"><b>Generate <span id="swr_01_0011__text05181954132816">a temporary docker login</span> command</b></span> and click <span><img id="swr_01_0011__image18518165472812" src="en-us_image_0143894038.png"></span> to copy the command.<div class="fignone" id="swr_01_0011__en-us_topic_0112596104_fig157815441716"><span class="figcap"><b>Figure 2 </b>Obtaining a <strong id="swr_01_0011__b0357135883013">docker login</strong> command</span><br><span><img id="swr_01_0011__en-us_topic_0112596104_image167815441111" src="en-us_image_0000001200577091.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="section" id="swr_01_0011__en-us_topic_0083050718_section862311112816"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_ol0471564418"><li id="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_li58001655123"><a name="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_li58001655123"></a><a name="en-us_topic_0112596104_en-us_topic_0075378957_li58001655123"></a><span>Access SWR.</span><p><ol type="a" id="swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_ol48001255629"><li id="swr_01_0011__en-us_topic_0112596104_li20909134812497">Log in to the SWR console and the VM running the container engine as the <strong id="swr_01_0011__b1433105512515">root</strong> user. </li><li id="swr_01_0011__en-us_topic_0112596104_li182568055016"><a name="swr_01_0011__en-us_topic_0112596104_li182568055016"></a><a name="en-us_topic_0112596104_li182568055016"></a>In the navigation pane on the left, choose <span class="uicontrol" id="swr_01_0011__uicontrol195121454132813"><b>My Images</b></span> and then click <span class="uicontrol" id="swr_01_0011__uicontrol185181654152816"><b>Upload Through Client</b></span>. On the page displayed, click <span class="uicontrol" id="swr_01_0011__uicontrol3518195442815"><b>Generate <span id="swr_01_0011__text05181954132816">a temporary docker login</span> command</b></span> and click <span><img id="swr_01_0011__image18518165472812" src="en-us_image_0143894038.png"></span> to copy the command.<div class="fignone" id="swr_01_0011__en-us_topic_0112596104_fig157815441716"><span class="figcap"><b>Figure 2 </b>Obtaining a <strong id="swr_01_0011__b0357135883013">docker login</strong> command</span><br><span><img id="swr_01_0011__en-us_topic_0112596104_image167815441111" src="en-us_image_0000001200577091.png" width="438.90000000000003" height="35.956683000000005" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
<div class="note" id="swr_01_0011__en-us_topic_0112596104_note1076410325569"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="swr_01_0011__ul29971410101415"><li id="swr_01_0011__li139971104147">A <span id="swr_01_0011__text12607623651">temporary login command</span> is valid for 24 hours. For details about how to obtain a login command that will remain valid for a long term, see <a href="swr_01_1000.html">Obtaining a Long-Term Valid Login Command</a>. After you obtain a long-term valid login command, your temporary login commands will still be valid as long as they are in their validity periods.</li><li id="swr_01_0011__li390920379147">The domain name at the end of the login command is the image repository address. Record the address for later use.</li></ul>
|
<div class="note" id="swr_01_0011__en-us_topic_0112596104_note1076410325569"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="swr_01_0011__ul29971410101415"><li id="swr_01_0011__li139971104147">A <span id="swr_01_0011__text12607623651">temporary login command</span> is valid for 24 hours. For details about how to obtain a login command that will remain valid for a long term, see <a href="swr_01_1000.html">Obtaining a Long-Term Valid Login Command</a>. After you obtain a long-term valid login command, your temporary login commands will still be valid as long as they are in their validity periods.</li><li id="swr_01_0011__li390920379147">The domain name at the end of the login command is the image repository address. Record the address for later use.</li></ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</li><li id="swr_01_0011__en-us_topic_0112596104_li16945102816563">Run the <strong id="swr_01_0011__b68132050102918">docker login</strong> command on your Docker client (a device that has Docker installed).<p id="swr_01_0011__en-us_topic_0112596104_p1890203810712">The message "Login Succeeded" will be displayed upon a successful login.</p>
|
</li><li id="swr_01_0011__en-us_topic_0112596104_li16945102816563">Run the <strong id="swr_01_0011__b68132050102918">docker login</strong> command on your Docker client (a device that has Docker installed).<p id="swr_01_0011__en-us_topic_0112596104_p1890203810712">The message "Login Succeeded" will be displayed upon a successful login.</p>
|
||||||
@ -46,6 +44,8 @@ v1: digest: sha256:eb7e3bbd8e3040efa71d9c2cacfa12a8e39c6b2ccd15eac12bdc49e0b66ce
|
|||||||
<p id="swr_01_0011__en-us_topic_0112596104_p17380144320510">To view the pushed image, refresh the <span class="uicontrol" id="swr_01_0011__uicontrol6583131173919"><b>My Images</b></span> page.</p>
|
<p id="swr_01_0011__en-us_topic_0112596104_p17380144320510">To view the pushed image, refresh the <span class="uicontrol" id="swr_01_0011__uicontrol6583131173919"><b>My Images</b></span> page.</p>
|
||||||
</p></li></ol>
|
</p></li></ol>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="section" id="swr_01_0011__section1992614317135"><p id="swr_01_0011__p20616131885818"></p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -3,20 +3,21 @@
|
|||||||
<h1 class="topictitle1">Organization Management</h1>
|
<h1 class="topictitle1">Organization Management</h1>
|
||||||
<div id="body1557204039379"><div class="section" id="swr_01_0014__section72822227231"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0014__p1384413225118">Organizations enable efficient management of images. Organizations are used to isolate image repositories. With each organization being limited to one company or department, images can be managed in a centralized and efficient manner. An image name needs to be unique within an organization. The same user can access different organizations as long as the user has sufficient permissions, as shown in <a href="#swr_01_0014__fig1924953913304">Figure 1</a>.</p>
|
<div id="body1557204039379"><div class="section" id="swr_01_0014__section72822227231"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0014__p1384413225118">Organizations enable efficient management of images. Organizations are used to isolate image repositories. With each organization being limited to one company or department, images can be managed in a centralized and efficient manner. An image name needs to be unique within an organization. The same user can access different organizations as long as the user has sufficient permissions, as shown in <a href="#swr_01_0014__fig1924953913304">Figure 1</a>.</p>
|
||||||
<p id="swr_01_0014__p158371654133315">You can grant different permissions, namely, read, write, and manage, to users created by the same account. For details, see <a href="swr_01_0015.html">User Permissions</a>.</p>
|
<p id="swr_01_0014__p158371654133315">You can grant different permissions, namely, read, write, and manage, to users created by the same account. For details, see <a href="swr_01_0015.html">User Permissions</a>.</p>
|
||||||
<div class="fignone" id="swr_01_0014__fig1924953913304"><a name="swr_01_0014__fig1924953913304"></a><a name="fig1924953913304"></a><span class="figcap"><b>Figure 1 </b>Organization</span><br><span><img id="swr_01_0014__image1225011398305" src="en-us_image_0000001154801774.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="fignone" id="swr_01_0014__fig1924953913304"><a name="swr_01_0014__fig1924953913304"></a><a name="fig1924953913304"></a><span class="figcap"><b>Figure 1 </b>Organization</span><br><span><img id="swr_01_0014__image1225011398305" src="en-us_image_0000001154801774.png" height="388.02750000000003" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0014__section12921632181415"><a name="swr_01_0014__section12921632181415"></a><a name="section12921632181415"></a><h4 class="sectiontitle">Creating an Organization</h4><p id="swr_01_0014__p1580616422146">You can create organizations based on the organizational structure of your enterprise to facilitate image resource management. Create an organization before you push an image.</p>
|
<div class="section" id="swr_01_0014__section12921632181415"><a name="swr_01_0014__section12921632181415"></a><a name="section12921632181415"></a><h4 class="sectiontitle">Creating an Organization</h4><p id="swr_01_0014__p1580616422146">You can create organizations based on the organizational structure of your enterprise to facilitate image resource management. Create an organization before you push an image.</p>
|
||||||
<ol id="swr_01_0014__en-us_topic_0083723847_ol19296174233217"><li id="swr_01_0014__en-us_topic_0083723847_li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0014__en-us_topic_0083723847_li182568055016"><span>In the navigation pane on the left, choose <span class="uicontrol" id="swr_01_0014__uicontrol0221122072814"><b>Organization Management</b></span> and click <span class="uicontrol" id="swr_01_0014__uicontrol4227620122820"><b>Create Organization</b></span>. On the page displayed, specify <span class="uicontrol" id="swr_01_0014__uicontrol18228132010286"><b>Organization Name</b></span> and click <span class="uicontrol" id="swr_01_0014__uicontrol72291520192812"><b>OK</b></span>.</span><p><div class="fignone" id="swr_01_0014__fig1647633132"><span class="figcap"><b>Figure 2 </b>Creating an Organization</span><br><span><img id="swr_01_0014__image176471318130" src="en-us_image_0000001200800369.png" title="Click to enlarge" class="imgResize"></span></div>
|
<ol id="swr_01_0014__en-us_topic_0083723847_ol19296174233217"><li id="swr_01_0014__en-us_topic_0083723847_li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0014__en-us_topic_0083723847_li182568055016"><span>In the navigation pane on the left, choose <span class="uicontrol" id="swr_01_0014__uicontrol0221122072814"><b>Organization Management</b></span> and click <span class="uicontrol" id="swr_01_0014__uicontrol4227620122820"><b>Create Organization</b></span>. On the page displayed, specify <span class="uicontrol" id="swr_01_0014__uicontrol18228132010286"><b>Organization Name</b></span> and click <span class="uicontrol" id="swr_01_0014__uicontrol72291520192812"><b>OK</b></span>.</span><p><div class="fignone" id="swr_01_0014__fig1647633132"><span class="figcap"><b>Figure 2 </b>Creating an organization</span><br><span><img id="swr_01_0014__image14387945175714" src="en-us_image_0000001361665969.png" height="398.0025" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
<div class="note" id="swr_01_0014__note19408173985017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="swr_01_0014__ul431072142615"><li id="swr_01_0014__li8311828268">The organization name must be globally unique. If a message is displayed indicating that the organization already exists, the organization name may have been used by another user. Use another organization name.</li><li id="swr_01_0014__li541111132711">After a tenant is deleted, residual organization resources may exist. In this case, the message indicating that the organization already exists could also be displayed when you create an organization. Use another organization name.</li></ul>
|
<div class="note" id="swr_01_0014__note19408173985017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="swr_01_0014__ul431072142615"><li id="swr_01_0014__li8311828268">The organization name must be globally unique. If a message is displayed indicating that the organization already exists, the organization name may have been used by another user. Use another organization name.</li><li id="swr_01_0014__li541111132711">After a tenant is deleted, residual organization resources may exist. In this case, the message indicating that the organization already exists could also be displayed when you create an organization. Use another organization name.</li></ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</p></li></ol>
|
</p></li></ol>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0014__section119666311518"><h4 class="sectiontitle">Viewing the Images of an Organization</h4><p id="swr_01_0014__p10365111615156">After you create an organization and push images to it, you can view the image list of the organization.</p>
|
<div class="section" id="swr_01_0014__section119666311518"><h4 class="sectiontitle">Viewing the Images of an Organization</h4><p id="swr_01_0014__p10365111615156">After you create an organization and push images to it, you can view the image list of the organization.</p>
|
||||||
<ol id="swr_01_0014__ol19296174233217"><li id="swr_01_0014__li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0014__li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0014__uicontrol41101375285"><b>Organization Management</b></span>. On the page displayed, click the desired organization name in the list.</span></li><li id="swr_01_0014__li5452630165217"><span>To view the images of this organization, click the <span class="uicontrol" id="swr_01_0014__uicontrol16962184392813"><b>Image</b></span> tab.</span><p><div class="fignone" id="swr_01_0014__fig3637934185614"><span class="figcap"><b>Figure 3 </b>Viewing the Images of an Organization</span><br><span><img id="swr_01_0014__image16377346563" src="en-us_image_0000001154966988.png" title="Click to enlarge" class="imgResize"></span></div>
|
<ol id="swr_01_0014__ol19296174233217"><li id="swr_01_0014__li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0014__li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0014__uicontrol1887513148231"><b>Organization Management</b></span>. On the page displayed, click the desired organization name in the list.</span></li><li id="swr_01_0014__li1248718205316"><span>To view the images of this organization, click the <span class="uicontrol" id="swr_01_0014__uicontrol16962184392813"><b>Images</b></span> tab.</span><p><div class="p" id="swr_01_0014__p16367937238"><div class="fignone" id="swr_01_0014__fig3637934185614"><span class="figcap"><b>Figure 3 </b>Viewing the images of an organization</span><br><span><img id="swr_01_0014__image16377346563" src="en-us_image_0000001154966988.png" height="170.594578" width="492.1" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
|
</div>
|
||||||
</p></li></ol>
|
</p></li></ol>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0014__section12282112143810"><h4 class="sectiontitle">Deleting an Organization</h4><p id="swr_01_0014__p132001837382">Before deleting an organization, delete all the images in the organization.</p>
|
<div class="section" id="swr_01_0014__section12282112143810"><h4 class="sectiontitle">Deleting an Organization</h4><p id="swr_01_0014__p132001837382">Before deleting an organization, delete all the images in the organization.</p>
|
||||||
<ol id="swr_01_0014__ol19200133163819"><li id="swr_01_0014__li10200113173810"><span>Log in to the SWR console.</span></li><li id="swr_01_0014__li1020015333819"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0014__uicontrol9549201192914"><b>Organization Management</b></span>. On the page displayed, click the desired organization name in the list.</span></li><li id="swr_01_0014__li13201203153813"><span>Click <strong id="swr_01_0014__b156211721714">Delete</strong> in the upper right corner. In the displayed dialog box, enter <strong id="swr_01_0014__b18884171461713">DELETE</strong> as prompted and click <strong id="swr_01_0014__b621512356180">Yes</strong>.</span></li></ol>
|
<ol id="swr_01_0014__ol19200133163819"><li id="swr_01_0014__li10200113173810"><span>Log in to the SWR console.</span></li><li id="swr_01_0014__li1020015333819"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0014__uicontrol15931638182319"><b>Organization Management</b></span>. On the page displayed, click the desired organization name in the list.</span></li><li id="swr_01_0014__li13201203153813"><span>Click <strong id="swr_01_0014__b292813147597">Delete</strong> in the upper right corner. In the displayed dialog box, enter DELETE as prompted and click <strong id="swr_01_0014__b1074219219016">Yes</strong>.</span></li></ol>
|
||||||
<div class="notice" id="swr_01_0014__note629818380391"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="swr_01_0014__p1629983893910">Before you delete a tenant, delete its organizations first; otherwise, residual organization resources may exist. When you create an organization that has the same name with the residual organization, a message is displayed indicating that the organization already exists.</p>
|
<div class="notice" id="swr_01_0014__note629818380391"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="swr_01_0014__p1629983893910">Before you delete a tenant, delete its organizations first; otherwise, residual organization resources may exist. When you create an organization that has the same name with the residual organization, a message is displayed indicating that the organization already exists.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
<a name="swr_01_0015"></a><a name="swr_01_0015"></a>
|
<a name="swr_01_0015"></a><a name="swr_01_0015"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">User Permissions</h1>
|
<h1 class="topictitle1">User Permissions</h1>
|
||||||
<div id="body1555491150557"><div class="section" id="swr_01_0015__section165312205241"><h4 class="sectiontitle">Scenarios</h4><p id="swr_01_0015__p164296810128">To manage SWR permissions, you can use Identity and Access Management (IAM). If you have the SWR Admin or Tenant Administrator permission, you become an admin user of SWR. You can grant permissions to other IAM users in SWR.</p>
|
<div id="body1555491150557"><div class="section" id="swr_01_0015__section165312205241"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0015__p164296810128">To manage SWR permissions, you can use Identity and Access Management (IAM). If you have the SWR Administrator or Tenant Administrator permission, you become an admin user of SWR accounts. You can grant permissions to other IAM users in SWR.</p>
|
||||||
<p id="swr_01_0015__p579822112418">If you are not an SWR admin user, you can request an SWR admin user to grant you permissions to read, write, or manage a specific image or images in a specific organization.</p>
|
<p id="swr_01_0015__p579822112418">If you are not an SWR account admin user, you can request an SWR account admin user to grant you permissions to read, write, or manage a specific image or images in a specific organization.</p>
|
||||||
<div class="note" id="swr_01_0015__note1845101411443"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="swr_01_0015__ul4731174114613"><li id="swr_01_0015__li14243115111464">An admin user is granted image management permission of all organizations by default, even if the user is not in the authorized user list of the organizations.</li><li id="swr_01_0015__li273124154610">SWR is deployed and accessed in specific physical regions. To assign permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect.</li></ul>
|
<div class="note" id="swr_01_0015__note1845101411443"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="swr_01_0015__ul4731174114613"><li id="swr_01_0015__li14243115111464">An SWR account admin user is granted image management permission of all organizations by default, even if the user is not in the authorized user list of the organizations.</li><li id="swr_01_0015__li273124154610">SWR is deployed and accessed in specific physical regions. To assign permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect.</li></ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0015__section1720374872510"><h4 class="sectiontitle">Authorization Method</h4><p id="swr_01_0015__p5538919183917">You can grant permissions to users in SWR by using either of the following methods:</p>
|
<div class="section" id="swr_01_0015__section1720374872510"><h4 class="sectiontitle">Authorization Method</h4><p id="swr_01_0015__p5538919183917">You can grant permissions to users in SWR by using either of the following methods:</p>
|
||||||
<ul id="swr_01_0015__ul485912515537"><li id="swr_01_0015__li103961739173911"><a href="#swr_01_0015__section851514354541">Grant permissions on an image details page</a> to allow users to read, write, and manage a specific image.</li><li id="swr_01_0015__li68602055538"><a href="#swr_01_0015__section950354645517">Grant permissions on an organization details page</a> to allow users to read, write, and manage all the images in an organization.<div class="fignone" id="swr_01_0015__fig8450171282912"><span class="figcap"><b>Figure 1 </b>User permissions</span><br><span><img id="swr_01_0015__image426145712577" src="en-us_image_0000001200802327.png"></span></div>
|
<ul id="swr_01_0015__ul485912515537"><li id="swr_01_0015__li103961739173911"><a href="#swr_01_0015__section851514354541">Grant permissions on an image details page</a> to allow users to read, write, and manage a specific image.</li><li id="swr_01_0015__li68602055538"><a href="#swr_01_0015__section950354645517">Grant permissions on an organization details page</a> to allow users to read, write, and manage all the images in an organization.<div class="fignone" id="swr_01_0015__fig8450171282912"><span class="figcap"><b>Figure 1 </b>User permissions</span><br><span><img id="swr_01_0015__image426145712577" src="en-us_image_0000001200802327.png" width="NaN" height="NaN"></span></div>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
<p id="swr_01_0015__p1169521102611">You can grant the following three types of permissions to users:</p>
|
<p id="swr_01_0015__p1169521102611">You can grant the following three types of permissions to users:</p>
|
||||||
<ul id="swr_01_0015__ul388714187544"><li id="swr_01_0015__l318059e27a5e4699940d3d1ce20d82b6"><span class="keyword" id="swr_01_0015__keyword04485016538">Read</span>: Users can only pull images.</li><li id="swr_01_0015__la5b459c83e9241b9a650dfc5f1736e8e"><span class="keyword" id="swr_01_0015__keyword198125414306">Write</span>: Users can pull and push images and edit image attributes.</li><li id="swr_01_0015__li1888711186547"><span class="keyword" id="swr_01_0015__keyword7888121943117">Manage</span>: Users can pull and push images, delete images or tags, edit image attributes, grant permissions, and share images with other users.</li></ul>
|
<ul id="swr_01_0015__ul388714187544"><li id="swr_01_0015__l318059e27a5e4699940d3d1ce20d82b6"><span class="keyword" id="swr_01_0015__keyword04485016538">Read</span>: Users can only pull images.</li><li id="swr_01_0015__la5b459c83e9241b9a650dfc5f1736e8e"><span class="keyword" id="swr_01_0015__keyword198125414306">Write</span>: Users can pull and push images and edit image attributes.</li><li id="swr_01_0015__li1888711186547"><span class="keyword" id="swr_01_0015__keyword7888121943117">Manage</span>: Users can pull and push images, delete images or tags, edit image attributes, grant permissions, and share images with other users.</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0015__section851514354541"><a name="swr_01_0015__section851514354541"></a><a name="section851514354541"></a><h4 class="sectiontitle">Granting Permissions for a Specific Image</h4><p id="swr_01_0015__p250766155518">To allow users to read, write, and manage a specific image, grant corresponding permissions to them on the details page of this image.</p>
|
<div class="section" id="swr_01_0015__section851514354541"><a name="swr_01_0015__section851514354541"></a><a name="section851514354541"></a><h4 class="sectiontitle">Granting Permissions for a Specific Image</h4><p id="swr_01_0015__p250766155518">To allow users to read, write, and manage a specific image, grant corresponding permissions to them on the details page of this image.</p>
|
||||||
<ol id="swr_01_0015__ol9264203131814"><li id="swr_01_0015__li162641439189"><span>Log in to the SWR console.</span></li><li id="swr_01_0015__li32649318187"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0015__uicontrol19805185111311"><b>My Images</b></span> and click the desired image.</span></li><li id="swr_01_0015__li172649314189"><span>On the image details page, click the <span class="uicontrol" id="swr_01_0015__uicontrol04808543311"><b>Permissions</b></span> tab.</span></li><li id="swr_01_0015__li926416321813"><span>Click <span class="uicontrol" id="swr_01_0015__uicontrol126277963214"><b>Add Permission</b></span>. On the page displayed, click <strong id="swr_01_0015__b56337911321">Read</strong>, <strong id="swr_01_0015__b106341699327">Write</strong>, or <strong id="swr_01_0015__b9635398329">Manage</strong> in the row of the desired username. Click <strong id="swr_01_0015__b9635149163219">OK</strong> to confirm.</span><p><div class="fignone" id="swr_01_0015__fig211084520455"><span class="figcap"><b>Figure 2 </b>Granting Permissions for a Specific Image</span><br><span><img id="swr_01_0015__image101107456458" src="en-us_image_0000001154645118.png" title="Click to enlarge" class="imgResize"></span></div>
|
<ol id="swr_01_0015__ol9264203131814"><li id="swr_01_0015__li162641439189"><span>Log in to the SWR console.</span></li><li id="swr_01_0015__li32649318187"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0015__uicontrol19805185111311"><b>My Images</b></span> and click the desired image.</span></li><li id="swr_01_0015__li172649314189"><span>On the image details page, click the <span class="uicontrol" id="swr_01_0015__uicontrol04808543311"><b>Permissions</b></span> tab.</span></li><li id="swr_01_0015__li926416321813"><span>Click <span class="uicontrol" id="swr_01_0015__uicontrol126277963214"><b>Add Permission</b></span>. On the page displayed, click <strong id="swr_01_0015__b56337911321">Read</strong>, <strong id="swr_01_0015__b106341699327">Write</strong>, or <strong id="swr_01_0015__b9635398329">Manage</strong> in the row of the desired username. Click <strong id="swr_01_0015__b9635149163219">OK</strong> to confirm.</span><p><div class="fignone" id="swr_01_0015__fig211084520455"><span class="figcap"><b>Figure 2 </b>Granting permissions for a specific image</span><br><span><img id="swr_01_0015__image101107456458" src="en-us_image_0000001154645118.png" height="409.61473" width="492.1" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
</p></li></ol>
|
</p></li></ol>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0015__section12896443593"><h4 class="sectiontitle">Modifying or Deleting Permissions for a Specific Image</h4><p id="swr_01_0015__p52095184593">You can also modify or delete user permissions on the image details page.</p>
|
<div class="section" id="swr_01_0015__section12896443593"><h4 class="sectiontitle">Modifying or Deleting Permissions for a Specific Image</h4><p id="swr_01_0015__p52095184593">You can also modify or delete user permissions on the image details page.</p>
|
||||||
<ul id="swr_01_0015__ul1730424812293"><li id="swr_01_0015__li53041648102917">To modify permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol17792754153219"><b>Modify</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol14798154183217"><b>Permissions</b></span> tab page. Select a permission in the <span class="uicontrol" id="swr_01_0015__uicontrol479819541321"><b><span class="keyword" id="swr_01_0015__keyword117982054143219">Permission</span></b></span> drop-down list, and click <span class="uicontrol" id="swr_01_0015__uicontrol179895473212"><b>Save</b></span> in the <strong id="swr_01_0015__b18799254163211">Operation</strong> column.</li><li id="swr_01_0015__li032933101913">To delete permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol1773217406555"><b>Delete</b></span> in the row of the desired username on the <strong id="swr_01_0015__b1095193284513">Permissions</strong> tab page. In the dialog box displayed, enter <span class="parmname" id="swr_01_0015__parmname16111842733"><b>DELETE</b></span> and click <span class="uicontrol" id="swr_01_0015__uicontrol8112194210315"><b>Yes</b></span>.</li></ul>
|
<ul id="swr_01_0015__ul1730424812293"><li id="swr_01_0015__li53041648102917">To modify permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol17792754153219"><b>Modify</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol14798154183217"><b>Permissions</b></span> tab page. Select a permission in the <span class="uicontrol" id="swr_01_0015__uicontrol479819541321"><b><span class="keyword" id="swr_01_0015__keyword117982054143219">Permission</span></b></span> drop-down list, and click <span class="uicontrol" id="swr_01_0015__uicontrol179895473212"><b>Save</b></span> in the <strong id="swr_01_0015__b18799254163211">Operation</strong> column.</li><li id="swr_01_0015__li032933101913">To delete permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol141991056183420"><b>Delete</b></span> in the row of the desired username on the <strong id="swr_01_0015__b7199175613420">Permissions</strong> tab page, enter <strong id="swr_01_0015__b15449133543516">DELETE</strong> in the dialog box displayed, and then click <strong id="swr_01_0015__b101991856103410">Yes</strong>.</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0015__section950354645517"><a name="swr_01_0015__section950354645517"></a><a name="section950354645517"></a><h4 class="sectiontitle">Granting Permissions for an Organization</h4><p id="swr_01_0015__p153055916556">To allow users to read, write, and manage all the images in an organization, grant corresponding permissions to them on the details page of this organization.</p>
|
<div class="section" id="swr_01_0015__section950354645517"><a name="swr_01_0015__section950354645517"></a><a name="section950354645517"></a><h4 class="sectiontitle">Granting Permissions for an Organization</h4><p id="swr_01_0015__p153055916556">To allow users to read, write, and manage all the images in an organization, grant corresponding permissions to them on the details page of this organization.</p>
|
||||||
<p id="swr_01_0015__p795885245511">Only users with the <span class="uicontrol" id="swr_01_0015__uicontrol114895202333"><b>Manage</b></span> permission can grant permissions for other users.</p>
|
<p id="swr_01_0015__p795885245511">Only users with the <span class="uicontrol" id="swr_01_0015__uicontrol114895202333"><b>Manage</b></span> permission can grant permissions for other users.</p>
|
||||||
<ol id="swr_01_0015__o0f1990184fe34768aeb852b4f3a6a9a5"><li id="swr_01_0015__l8c26e6137e8b4362a41c9b9f78ee45ae"><span>Log in to the SWR console.</span></li><li id="swr_01_0015__l6002fd12220e467899d7571142c9ebc5"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0015__uicontrol09971426103313"><b>Organization Management</b></span>. Then click <strong id="swr_01_0015__b15627123315">Details</strong> in the row of the desired organization.</span></li><li id="swr_01_0015__la5031c84badf4a4b9c611a4067dbcb1c"><span>On the <span class="uicontrol" id="swr_01_0015__uicontrol1096982912330"><b>Users</b></span> tab page, click <span class="uicontrol" id="swr_01_0015__uicontrol7969152917333"><b>Add Permission</b></span>. In the dialog box displayed, select permissions for users and click <span class="uicontrol" id="swr_01_0015__uicontrol1897052917336"><b>OK</b></span>.</span></li></ol>
|
<ol id="swr_01_0015__o0f1990184fe34768aeb852b4f3a6a9a5"><li id="swr_01_0015__l8c26e6137e8b4362a41c9b9f78ee45ae"><span>Log in to the SWR console.</span></li><li id="swr_01_0015__l6002fd12220e467899d7571142c9ebc5"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0015__uicontrol16366585239"><b>Organization Management</b></span>. Then click <strong id="swr_01_0015__b1263685819235">Details</strong> in the row of the desired organization.</span></li><li id="swr_01_0015__la5031c84badf4a4b9c611a4067dbcb1c"><span>On the <span class="uicontrol" id="swr_01_0015__uicontrol1096982912330"><b>Users</b></span> tab page, click <span class="uicontrol" id="swr_01_0015__uicontrol7969152917333"><b>Add Permission</b></span>. In the dialog box displayed, select permissions for users and click <span class="uicontrol" id="swr_01_0015__uicontrol1897052917336"><b>OK</b></span>.</span></li></ol>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0015__section16534153412010"><h4 class="sectiontitle">Modifying or Deleting Permissions for an Organization</h4><p id="swr_01_0015__p143397226010">You can also modify and delete user permissions of an organization.</p>
|
<div class="section" id="swr_01_0015__section16534153412010"><h4 class="sectiontitle">Modifying or Deleting Permissions for an Organization</h4><p id="swr_01_0015__p143397226010">You can also modify and delete user permissions of an organization.</p>
|
||||||
<ul id="swr_01_0015__ul49971610195613"><li id="swr_01_0015__li14997181016560">To modify permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol18724374337"><b>Modify</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol5781837173317"><b>Users</b></span> tab page. Select a permission in the <span class="uicontrol" id="swr_01_0015__uicontrol14791637163316"><b><span class="keyword" id="swr_01_0015__keyword27811375331">Permission</span></b></span> drop-down list, and click <span class="uicontrol" id="swr_01_0015__uicontrol117919375334"><b>Save</b></span> in the <strong id="swr_01_0015__b480103793311">Operation</strong> column.</li><li id="swr_01_0015__li20305184814297">To delete permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol366415167317"><b>Delete</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol566541615319"><b>Users</b></span> tab page. In the dialog box displayed, enter <span class="parmname" id="swr_01_0015__parmname12978201715318"><b>DELETE</b></span> and click <span class="uicontrol" id="swr_01_0015__uicontrol14978517833"><b>Yes</b></span>.</li></ul>
|
<ul id="swr_01_0015__ul49971610195613"><li id="swr_01_0015__li14997181016560">To modify permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol18724374337"><b>Modify</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol5781837173317"><b>Users</b></span> tab page. Select a permission in the <span class="uicontrol" id="swr_01_0015__uicontrol14791637163316"><b><span class="keyword" id="swr_01_0015__keyword27811375331">Permission</span></b></span> drop-down list, and click <span class="uicontrol" id="swr_01_0015__uicontrol117919375334"><b>Save</b></span> in the <strong id="swr_01_0015__b480103793311">Operation</strong> column.</li><li id="swr_01_0015__li20305184814297">To delete permissions, click <span class="uicontrol" id="swr_01_0015__uicontrol366415167317"><b>Delete</b></span> in the row of the desired username on the <span class="uicontrol" id="swr_01_0015__uicontrol566541615319"><b>Users</b></span> tab page. In the dialog box displayed, enter <span class="parmname" id="swr_01_0015__parmname12978201715318"><b>DELETE</b></span> and click <span class="uicontrol" id="swr_01_0015__uicontrol14978517833"><b>Yes</b></span>.</li></ul>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<div id="body1557200955523"><div class="section" id="swr_01_0016__section14534144710492"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0016__p179374561892">After uploading an image, you can <span class="keyword" id="swr_01_0016__keyword143161431194818">set image attributes</span>, including its <span class="keyword" id="swr_01_0016__keyword73211831194813">type (private by default), category and description</span>.</p>
|
<div id="body1557200955523"><div class="section" id="swr_01_0016__section14534144710492"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0016__p179374561892">After uploading an image, you can <span class="keyword" id="swr_01_0016__keyword143161431194818">set image attributes</span>, including its <span class="keyword" id="swr_01_0016__keyword73211831194813">type (private by default), category and description</span>.</p>
|
||||||
<p id="swr_01_0016__en-us_topic_0084266453_p257854195713">Public images can be pulled by all users; whereas the access to private images requires corresponding permissions. You can add permissions, namely, read, write, and manage, to allow users to access your private images. For details, see <a href="swr_01_0015.html#swr_01_0015__section851514354541">Granting Permissions for a Specific Image</a>.</p>
|
<p id="swr_01_0016__en-us_topic_0084266453_p257854195713">Public images can be pulled by all users; whereas the access to private images requires corresponding permissions. You can add permissions, namely, read, write, and manage, to allow users to access your private images. For details, see <a href="swr_01_0015.html#swr_01_0015__section851514354541">Granting Permissions for a Specific Image</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0016__en-us_topic_0084266453_section1514912210148"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0016__en-us_topic_0084266453_ol1535723214147"><li id="swr_01_0016__en-us_topic_0084266453_li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0016__en-us_topic_0084266453_li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0016__uicontrol174911126141611"><b>My Images</b></span> and click the desired image.</span></li><li id="swr_01_0016__en-us_topic_0084266453_li1615151191513"><span>On the details page, click <span class="uicontrol" id="swr_01_0016__uicontrol145991731121611"><b>Edit</b></span> in the upper right corner. On the page displayed, set <strong id="swr_01_0016__b1060514317162">Sharing Type</strong> (<strong id="swr_01_0016__b1960611314167">Public</strong> or <strong id="swr_01_0016__b12607163112161">Private</strong>), <strong id="swr_01_0016__b19608173181610">Category</strong>, and <strong id="swr_01_0016__b4608131121614">Description</strong>, and click <span class="uicontrol" id="swr_01_0016__uicontrol17609153113165"><b>OK</b></span>.</span><p><div class="fignone" id="swr_01_0016__fig2044121511267"><span class="figcap"><b>Figure 1 </b>Setting Image Attributes</span><br><span><img id="swr_01_0016__image844161592617" src="en-us_image_0000001154760600.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="section" id="swr_01_0016__en-us_topic_0084266453_section1514912210148"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0016__en-us_topic_0084266453_ol1535723214147"><li id="swr_01_0016__en-us_topic_0084266453_li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0016__en-us_topic_0084266453_li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0016__uicontrol174911126141611"><b>My Images</b></span> and click the desired image.</span></li><li id="swr_01_0016__en-us_topic_0084266453_li1615151191513"><span>On the details page, click <span class="uicontrol" id="swr_01_0016__uicontrol145991731121611"><b>Edit</b></span> in the upper right corner. On the page displayed, set <strong id="swr_01_0016__b1060514317162">Sharing Type</strong> (<strong id="swr_01_0016__b1960611314167">Public</strong> or <strong id="swr_01_0016__b12607163112161">Private</strong>), <strong id="swr_01_0016__b19608173181610">Category</strong>, and <strong id="swr_01_0016__b4608131121614">Description</strong>, and click <span class="uicontrol" id="swr_01_0016__uicontrol17609153113165"><b>OK</b></span>.</span><p><div class="fignone" id="swr_01_0016__fig2044121511267"><span class="figcap"><b>Figure 1 </b>Setting Image Attributes</span><br><span><img id="swr_01_0016__image844161592617" src="en-us_image_0000001154760600.png" height="345.875943" width="492.1" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
|
|
||||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_01_0016__table156232449577" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Editing an image</caption><thead align="left"><tr id="swr_01_0016__row362424415719"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.2.2.3.2.2.2.3.1.1"><p id="swr_01_0016__p5624164445718">Parameter</p>
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_01_0016__table156232449577" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Editing an image</caption><thead align="left"><tr id="swr_01_0016__row362424415719"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.2.2.3.2.2.2.3.1.1"><p id="swr_01_0016__p5624164445718">Parameter</p>
|
||||||
</th>
|
</th>
|
||||||
|
@ -3,8 +3,9 @@
|
|||||||
<h1 class="topictitle1">Pulling an Image</h1>
|
<h1 class="topictitle1">Pulling an Image</h1>
|
||||||
<div id="body1591325400748"><div class="section" id="swr_01_0017__section165112517497"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0017__en-us_topic_0084266454_p26262113592">You can run the <strong id="swr_01_0017__b2044119141517">docker pull</strong> command to pull images from SWR.</p>
|
<div id="body1591325400748"><div class="section" id="swr_01_0017__section165112517497"><h4 class="sectiontitle">Scenario</h4><p id="swr_01_0017__en-us_topic_0084266454_p26262113592">You can run the <strong id="swr_01_0017__b2044119141517">docker pull</strong> command to pull images from SWR.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0017__section13356144645616"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0017__en-us_topic_0084266454_ol1535723214147"><li id="swr_01_0017__li14636133352214"><span>Log in to the VM running the container engine as the <strong id="swr_01_0017__b91611712121511">root</strong> user. </span></li><li id="swr_01_0017__li17667103735114"><span>Obtain a login command by referring to <a href="swr_01_0011.html#swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_li58001655123">Step 1</a> and access SWR.</span></li><li id="swr_01_0017__li72341837102811"><span>Log in to the SWR console.</span></li><li id="swr_01_0017__en-us_topic_0084266454_li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0017__uicontrol9126717181513"><b>My Images</b></span> and click the target image.</span></li><li id="swr_01_0017__en-us_topic_0084266454_li197783469319"><a name="swr_01_0017__en-us_topic_0084266454_li197783469319"></a><a name="en-us_topic_0084266454_li197783469319"></a><span>On the <strong id="swr_01_0017__b1074218412619">Image Tags</strong> tab page, in the same row as the target image tag, click <span><img id="swr_01_0017__image544413331165" src="en-us_image_0282767856.png"></span> in the <strong id="swr_01_0017__b181303314518">Image Pull Command</strong> column to copy the command.</span><p><div class="fignone" id="swr_01_0017__fig262614551515"><span class="figcap"><b>Figure 1 </b>Obtaining the image pull command</span><br><span><img id="swr_01_0017__image11626154511514" src="en-us_image_0000001154597496.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="section" id="swr_01_0017__section12536114414324"></div>
|
||||||
</p></li><li id="swr_01_0017__li616511233439"><span>Run the <strong id="swr_01_0017__b2456155915155">image pull</strong> command obtained in <a href="#swr_01_0017__en-us_topic_0084266454_li197783469319">Step 5</a> on the VM.</span><p><p id="swr_01_0017__p111139327468">Run the <strong id="swr_01_0017__b63661044161">docker images</strong> command to check whether the images are successfully pulled.</p>
|
<div class="section" id="swr_01_0017__section13356144645616"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0017__en-us_topic_0084266454_ol1535723214147"><li id="swr_01_0017__li14636133352214"><span>Log in to the VM running the container engine as the <strong id="swr_01_0017__b91611712121511">root</strong> user. </span></li><li id="swr_01_0017__li17667103735114"><span>Obtain a login command by referring to <a href="swr_01_0011.html#swr_01_0011__en-us_topic_0112596104_en-us_topic_0075378957_li58001655123">1</a> and access SWR.</span></li><li id="swr_01_0017__li72341837102811"><span>Log in to the SWR console.</span></li><li id="swr_01_0017__en-us_topic_0084266454_li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0017__uicontrol9126717181513"><b>My Images</b></span> and click the target image.</span></li><li id="swr_01_0017__en-us_topic_0084266454_li197783469319"><a name="swr_01_0017__en-us_topic_0084266454_li197783469319"></a><a name="en-us_topic_0084266454_li197783469319"></a><span>On the <strong id="swr_01_0017__b1074218412619">Image Tags</strong> tab page, in the same row as the target image tag, click <span><img id="swr_01_0017__image544413331165" src="en-us_image_0282767856.png"></span> in the <strong id="swr_01_0017__b181303314518">Image Pull Command</strong> column to copy the command.</span><p><div class="fignone" id="swr_01_0017__fig262614551515"><span class="figcap"><b>Figure 1 </b>Obtaining the image pull command</span><br><span><img id="swr_01_0017__image11626154511514" src="en-us_image_0000001154597496.png" height="129.351943" width="492.1" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
|
</p></li><li id="swr_01_0017__li616511233439"><span>Run the <strong id="swr_01_0017__b2456155915155">image pull</strong> command obtained in <a href="#swr_01_0017__en-us_topic_0084266454_li197783469319">5</a> on the VM.</span><p><p id="swr_01_0017__p111139327468">Run the <strong id="swr_01_0017__b63661044161">docker images</strong> command to check whether the images are successfully pulled.</p>
|
||||||
<pre class="screen" id="swr_01_0017__screen15419026204919"># docker images
|
<pre class="screen" id="swr_01_0017__screen15419026204919"># docker images
|
||||||
REPOSITORY TAG IMAGE ID CREATED SIZE
|
REPOSITORY TAG IMAGE ID CREATED SIZE
|
||||||
xxx/group/nginx v2.0.0 22f2bf2e2b4f 5 hours ago 22.8MB</pre>
|
xxx/group/nginx v2.0.0 22f2bf2e2b4f 5 hours ago 22.8MB</pre>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0026__section15251822105111"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="swr_01_0026__ul1256719685813"><li id="swr_01_0026__li7351442144915">Only private images can be shared. Public images cannot be shared.</li><li id="swr_01_0026__li6568164587">Only users authorized to manage the private images can share images. The users with whom you share your images only have the read-only permission, which only allows them to pull the images.</li><li id="swr_01_0026__li1868168115818">You can share images only with accounts in the same region. Cross-region image sharing is not supported.</li></ul>
|
<div class="section" id="swr_01_0026__section15251822105111"><h4 class="sectiontitle">Notes and Constraints</h4><ul id="swr_01_0026__ul1256719685813"><li id="swr_01_0026__li7351442144915">Only private images can be shared. Public images cannot be shared.</li><li id="swr_01_0026__li6568164587">Only users authorized to manage the private images can share images. The users with whom you share your images only have the read-only permission, which only allows them to pull the images.</li><li id="swr_01_0026__li1868168115818">You can share images only with accounts in the same region. Cross-region image sharing is not supported.</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_0026__section78076281236"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0026__ol1535723214147"><li id="swr_01_0026__li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0026__li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0026__uicontrol6297008189"><b>My Images</b></span> and click the target image.</span></li><li id="swr_01_0026__li5373125613327"><span>On the details page, click the <span class="uicontrol" id="swr_01_0026__uicontrol1106734861152831"><b>Sharing</b></span> tab.</span></li><li id="swr_01_0026__li159631348343"><span>Click <strong id="swr_01_0026__b5684116151815">Share Image</strong>. Set parameters based on <a href="#swr_01_0026__table15531841319">Table 1</a>, and click <strong id="swr_01_0026__b9690186151815">OK</strong>.</span><p><div class="fignone" id="swr_01_0026__fig616832910306"><span class="figcap"><b>Figure 1 </b>Sharing an image</span><br><span><img id="swr_01_0026__image141681529173013" src="en-us_image_0000001200681339.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="section" id="swr_01_0026__section78076281236"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_0026__ol1535723214147"><li id="swr_01_0026__li20909134812497"><span>Log in to the SWR console.</span></li><li id="swr_01_0026__li182568055016"><span>In the navigation pane, choose <span class="uicontrol" id="swr_01_0026__uicontrol6297008189"><b>My Images</b></span> and click the target image.</span></li><li id="swr_01_0026__li5373125613327"><span>On the details page, click the <span class="uicontrol" id="swr_01_0026__uicontrol1106734861152831"><b>Sharing</b></span> tab.</span></li><li id="swr_01_0026__li159631348343"><span>Click <strong id="swr_01_0026__b5684116151815">Share Image</strong>. Set parameters based on <a href="#swr_01_0026__table15531841319">Table 1</a>, and click <strong id="swr_01_0026__b9690186151815">OK</strong>.</span><p><div class="fignone" id="swr_01_0026__fig616832910306"><span class="figcap"><b>Figure 1 </b>Sharing an image</span><br><span><img id="swr_01_0026__image141681529173013" src="en-us_image_0000001200681339.png" height="425.54932700000006" width="492.1" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
|
|
||||||
<div class="tablenoborder"><a name="swr_01_0026__table15531841319"></a><a name="table15531841319"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_01_0026__table15531841319" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Sharing an image</caption><thead align="left"><tr id="swr_01_0026__row1255474143117"><th align="left" class="cellrowborder" valign="top" width="28.110000000000003%" id="mcps1.3.3.2.4.2.2.2.3.1.1"><p id="swr_01_0026__p15956203619288">Parameter</p>
|
<div class="tablenoborder"><a name="swr_01_0026__table15531841319"></a><a name="table15531841319"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_01_0026__table15531841319" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Sharing an image</caption><thead align="left"><tr id="swr_01_0026__row1255474143117"><th align="left" class="cellrowborder" valign="top" width="28.110000000000003%" id="mcps1.3.3.2.4.2.2.2.3.1.1"><p id="swr_01_0026__p15956203619288">Parameter</p>
|
||||||
</th>
|
</th>
|
||||||
|
11
docs/swr/umn/swr_01_0070.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<a name="swr_01_0070"></a><a name="swr_01_0070"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Permissions Management</h1>
|
||||||
|
<div id="body1557906350896"></div>
|
||||||
|
<div>
|
||||||
|
<ul class="ullinks">
|
||||||
|
<li class="ulchildlink"><strong><a href="swr_01_0072.html">Creating a User and Granting SWR Permissions</a></strong><br>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
21
docs/swr/umn/swr_01_0072.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<a name="swr_01_0072"></a><a name="swr_01_0072"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Creating a User and Granting SWR Permissions</h1>
|
||||||
|
<div id="body1557906354179"><p id="swr_01_0072__p1581315228506">This section describes how to use <a href="https://docs.otc.t-systems.com/en-us/usermanual/iam/iam_01_0026.html" target="_blank" rel="noopener noreferrer">IAM</a> for fine-grained permission management on your SWR resources. With IAM, you can:</p>
|
||||||
|
<ul id="swr_01_0072__ul188144222500"><li id="swr_01_0072__li168141422205012">Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing SWR resources.</li><li id="swr_01_0072__li128140225502">Grant only the permissions required for users to perform a specific task.</li><li id="swr_01_0072__li13814422185017">Entrust a cloud account or cloud service to perform efficient O&M on your SWR resources.</li></ul>
|
||||||
|
<p id="swr_01_0072__p1981492219504">If your account does not need individual IAM users, you may skip over this chapter.</p>
|
||||||
|
<p id="swr_01_0072__p158141822155013">This section describes the procedure for granting permissions (see <a href="#swr_01_0072__fig5293113815405">Figure 1</a>).</p>
|
||||||
|
<div class="section" id="swr_01_0072__section559312413518"><h4 class="sectiontitle">Prerequisite</h4><p id="swr_01_0072__p1596042514569">Learn about the permissions supported by SWR and choose policies or roles according to your requirements.</p>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="swr_01_0072__section1946765275520"><h4 class="sectiontitle">Process Flow</h4><div class="fignone" id="swr_01_0072__fig5293113815405"><a name="swr_01_0072__fig5293113815405"></a><a name="fig5293113815405"></a><span class="figcap"><b>Figure 1 </b>Process for granting SWR permissions</span><br><span><img id="swr_01_0072__image22931038164012" src="en-us_image_0000001127297210.png" width="NaN" height="NaN"></span></div>
|
||||||
|
</div>
|
||||||
|
<ol id="swr_01_0072__ol101354213591"><li id="swr_01_0072__li8135822590"><a name="swr_01_0072__li8135822590"></a><a name="li8135822590"></a><a href="https://docs.otc.t-systems.com/en-us/usermanual/iam/iam_01_0030.html" target="_blank" rel="noopener noreferrer">Create a user group and assign permissions</a>.<p id="swr_01_0072__p299931295711">Create a user group on the IAM console, and assign the <strong id="swr_01_0072__b144731341145313">SWR Administrator</strong> policy to the group.</p>
|
||||||
|
</li><li id="swr_01_0072__li234713156575"><a href="https://docs.otc.t-systems.com/en-us/usermanual/iam/iam_01_0031.html" target="_blank" rel="noopener noreferrer">Create an IAM user and add the user to a user group</a>.<p id="swr_01_0072__p131981718145718">Create a user on the IAM console and add the user to the group created in <a href="#swr_01_0072__li8135822590">1</a>.</p>
|
||||||
|
</li><li id="swr_01_0072__li198500183578"><a href="https://docs.otc.t-systems.com/en-us/usermanual/iam/iam_01_0552.html" target="_blank" rel="noopener noreferrer">Log in</a> as the IAM user and verify permissions.</li></ol>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="familylinks">
|
||||||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_01_0070.html">Permissions Management</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -5,18 +5,21 @@
|
|||||||
<div class="note" id="swr_01_1000__note1521917215294"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p122193219294">For security purposes, it is advised to obtain the login command in the development environment.</p>
|
<div class="note" id="swr_01_1000__note1521917215294"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p122193219294">For security purposes, it is advised to obtain the login command in the development environment.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_01_1000__section140815918599"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_1000__ol2768163651813"><li id="swr_01_1000__li5768123671815"><a name="swr_01_1000__li5768123671815"></a><a name="li5768123671815"></a><span>Obtain the region project name and image repository address.</span><p><ol type="a" id="swr_01_1000__ol1692413110449"><li id="swr_01_1000__li17636121114363">Log in to the management console, click your username in the upper right corner, and click <span class="uicontrol" id="swr_01_1000__uicontrol176323015916"><b>My Credentials</b></span>.</li><li id="swr_01_1000__li165135188513">On the <strong id="swr_01_1000__b181711521148">Project List</strong> tab page, search for the project corresponding to the current region.</li><li id="swr_01_1000__li533871972612">Obtain the image repository address by referring to <a href="swr_01_0011.html#swr_01_0011__en-us_topic_0112596104_li182568055016">1.b</a>. The domain name at the end of the login command is the image repository address.</li></ol>
|
<div class="section" id="swr_01_1000__section447122712411"><h4 class="sectiontitle">Process</h4><p id="swr_01_1000__p205744652415">You can obtain a long-term valid login command as the following process:</p>
|
||||||
|
<div class="fignone" id="swr_01_1000__fig814171712513"><span class="figcap"><b>Figure 1 </b>Process</span><br><span><img id="swr_01_1000__image7141191792517" src="en-us_image_0000001539605245.png" height="48.877500000000005" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="swr_01_1000__section140815918599"><h4 class="sectiontitle">Procedure</h4><ol id="swr_01_1000__ol2768163651813"><li id="swr_01_1000__li122491614174210"><span><strong id="swr_01_1000__b769314712814">Obtain the programmatic access permission. (If the current user has the permission, skip this step.)</strong></span><p><ol type="a" id="swr_01_1000__ol166282020114314"><li id="swr_01_1000__li962862016433">Log in to the management console as an administrator.</li><li id="swr_01_1000__li1396382454819">Click <span><img id="swr_01_1000__image69631524114811" src="en-us_image_0000001507688112.png"></span> in the upper left corner and select a region and a project.</li><li id="swr_01_1000__li796320240486">Click <span><img id="swr_01_1000__image1296392416481" src="en-us_image_0000001558527697.png"></span> in the navigation pane on the left and choose <strong id="swr_01_1000__b454814149713">Management & Governance</strong> > <strong id="swr_01_1000__b1360217431878">Identity and Access Management</strong>.</li><li id="swr_01_1000__li1648619084417">Enter the name of the user to whom you want to grant the programmatic access permission in the search box on the <span class="uicontrol" id="swr_01_1000__uicontrol2591115485711"><b>Users</b></span> page.</li><li id="swr_01_1000__li13271644917">Click the user to go to its details page.</li><li id="swr_01_1000__li1824411845118">Click <span><img id="swr_01_1000__image6527152492412" src="en-us_image_0000001507528236.png"></span> next to <span class="uicontrol" id="swr_01_1000__uicontrol1240373214107"><b>Access Type</b></span>.</li><li id="swr_01_1000__li1224675617202">Select <span class="uicontrol" id="swr_01_1000__uicontrol666119454011"><b>Programmatic access</b></span>. (You can select only programmatic access or both access types.)</li></ol>
|
||||||
|
</p></li><li id="swr_01_1000__li5768123671815"><a name="swr_01_1000__li5768123671815"></a><a name="li5768123671815"></a><span>Obtain the region, project name, and image repository address.</span><p><ol type="a" id="swr_01_1000__ol1692413110449"><li id="swr_01_1000__li17636121114363">Log in to the management console, click your username in the upper right corner, and click <span class="uicontrol" id="swr_01_1000__uicontrol176323015916"><b>My Credentials</b></span>.</li><li id="swr_01_1000__li165135188513">On the <strong id="swr_01_1000__b181711521148">Projects</strong> tab page, search for the project corresponding to the current region.</li><li id="swr_01_1000__li533871972612">Obtain the image repository address by referring to <a href="swr_01_0011.html#swr_01_0011__en-us_topic_0112596104_li182568055016">1.b</a>. The domain name at the end of the login command is the image repository address.</li></ol>
|
||||||
</p></li><li id="swr_01_1000__li1863783911295"><a name="swr_01_1000__li1863783911295"></a><a name="li1863783911295"></a><span>Obtain an AK/SK.</span><p><div class="note" id="swr_01_1000__note47741129113520"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p867354104619">The access key ID (AK) and secret access key (SK) are a pair of access keys used together to authenticate users who wish to make API requests. The AK/AS pair provides functions similar to a password. If you already have an AK/SK, skip this step.</p>
|
</p></li><li id="swr_01_1000__li1863783911295"><a name="swr_01_1000__li1863783911295"></a><a name="li1863783911295"></a><span>Obtain an AK/SK.</span><p><div class="note" id="swr_01_1000__note47741129113520"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p867354104619">The access key ID (AK) and secret access key (SK) are a pair of access keys used together to authenticate users who wish to make API requests. The AK/AS pair provides functions similar to a password. If you already have an AK/SK, skip this step.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
<ol type="a" id="swr_01_1000__ol135056239350"><li id="swr_01_1000__li1856382020016">Log in to the management console, click your username in the upper right corner, and click <strong id="swr_01_1000__b192218382046">My Credentials</strong>.</li><li id="swr_01_1000__li750572393517">On the <strong id="swr_01_1000__b973619128514">Access Keys</strong> tab page, click <strong id="swr_01_1000__b17432012554">Add Access Key</strong>.</li><li id="swr_01_1000__li150592353512">Enter the login password and verification code sent to your mailbox or mobile phone.</li><li id="swr_01_1000__li3505112314357">Download the access key, which includes the AK and SK.<div class="note" id="swr_01_1000__note2050512393510"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p4505423163519">Keep the access key secure and do not disclose it to any unauthorized personnel.</p>
|
<ol type="a" id="swr_01_1000__ol135056239350"><li id="swr_01_1000__li1856382020016">Log in to the management console, click your username in the upper right corner, and click <strong id="swr_01_1000__b192218382046">My Credentials</strong>.</li><li id="swr_01_1000__li750572393517">On the <strong id="swr_01_1000__b973619128514">Access Keys</strong> tab page, click <strong id="swr_01_1000__b17432012554">Add Access Key</strong>.</li><li id="swr_01_1000__li150592353512">Enter the login password and verification code sent to your mailbox or mobile phone.</li><li id="swr_01_1000__li3505112314357">Download the access key, which includes the AK and SK.<div class="note" id="swr_01_1000__note2050512393510"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p4505423163519">Keep the access key secure and do not disclose it to any unauthorized personnel.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
</li></ol>
|
</li></ol>
|
||||||
</p></li><li id="swr_01_1000__li132430753010"><a name="swr_01_1000__li132430753010"></a><a name="li132430753010"></a><span>Log in to a Linux PC and run the following command to <span class="keyword" id="swr_01_1000__keyword83181535173114">obtain the login key</span>:</span><p><p id="swr_01_1000__p101396227569"><strong id="swr_01_1000__b183847299230">printf "<em id="swr_01_1000__i913613510377">$AK</em>" | openssl dgst -binary -sha256 -hmac "<em id="swr_01_1000__i11361555373">$SK</em>" | od -An -vtx1 | sed 's/[ \n]//g' | sed 'N;s/\n//'</strong></p>
|
</p></li><li id="swr_01_1000__li132430753010"><a name="swr_01_1000__li132430753010"></a><a name="li132430753010"></a><span>Log in to a Linux PC and run the following command to <span class="keyword" id="swr_01_1000__keyword83181535173114">obtain the login key</span>:</span><p><p id="swr_01_1000__p101396227569"><strong id="swr_01_1000__b183847299230">printf "<em id="swr_01_1000__i913613510377">$AK</em>" | openssl dgst -binary -sha256 -hmac "<em id="swr_01_1000__i11361555373">$SK</em>" | od -An -vtx1 | sed 's/[ \n]//g' | sed 'N;s/\n//'</strong></p>
|
||||||
<p id="swr_01_1000__p6793194675712">In the command, <strong id="swr_01_1000__b49613615112">$AK</strong> and <strong id="swr_01_1000__b996718611110">$SK</strong> indicate the AK and SK obtained in <a href="#swr_01_1000__li1863783911295">Step 2</a> respectively.</p>
|
<p id="swr_01_1000__p6793194675712">In the command, <strong id="swr_01_1000__b49613615112">$AK</strong> and <strong id="swr_01_1000__b996718611110">$SK</strong> indicate the AK and SK obtained in <a href="#swr_01_1000__li1863783911295">3</a> respectively.</p>
|
||||||
<div class="fignone" id="swr_01_1000__fig56444333813"><span class="figcap"><b>Figure 1 </b>Sample command output</span><br><span><img id="swr_01_1000__image156445335810" src="en-us_image_0165729699.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="fignone" id="swr_01_1000__fig56444333813"><span class="figcap"><b>Figure 2 </b>Sample command output</span><br><span><img id="swr_01_1000__image156445335810" src="en-us_image_0165729699.png" height="44.054654000000006" width="492.1" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
</p></li><li id="swr_01_1000__li5743102065612"><span>Put the information you obtained in the following format to generate a long-term valid login command:</span><p><p id="swr_01_1000__p1568617424597"><strong id="swr_01_1000__b12402163612512">docker login -u</strong> [<em id="swr_01_1000__i778855718392">Regional project name</em>]<strong id="swr_01_1000__b14491359143913">@</strong>[<em id="swr_01_1000__i798944517396">AK</em>] <strong id="swr_01_1000__b4126195219510">-p</strong> [<em id="swr_01_1000__i1058412479398">Login key</em>] [<em id="swr_01_1000__i860045174012">Image repository address</em>]</p>
|
</p></li><li id="swr_01_1000__li5743102065612"><span>Put the information you obtained in the following format to generate a long-term valid login command:</span><p><p id="swr_01_1000__p1568617424597"><strong id="swr_01_1000__b12402163612512">docker login -u</strong> [<em id="swr_01_1000__i778855718392">Regional project name</em>]<strong id="swr_01_1000__b14491359143913">@</strong>[<em id="swr_01_1000__i798944517396">AK</em>] <strong id="swr_01_1000__b4126195219510">-p</strong> [<em id="swr_01_1000__i1058412479398">Login key</em>] [<em id="swr_01_1000__i860045174012">Image repository address</em>]</p>
|
||||||
<p id="swr_01_1000__p11139175415">In the command, the regional project name and image repository address are obtained in <a href="#swr_01_1000__li5768123671815">Step 1</a>, the AK in <a href="#swr_01_1000__li1863783911295">Step 2</a>, and the login key in <a href="#swr_01_1000__li132430753010">Step 3</a>.</p>
|
<p id="swr_01_1000__p11139175415">In the command, the regional project name and image repository address are obtained in <a href="#swr_01_1000__li5768123671815">2</a>, the AK in <a href="#swr_01_1000__li1863783911295">3</a>, and the login key in <a href="#swr_01_1000__li132430753010">4</a>.</p>
|
||||||
<div class="fignone" id="swr_01_1000__fig9655181252519"><span class="figcap"><b>Figure 2 </b>Long-term login command</span><br><span><img id="swr_01_1000__image165515121259" src="en-us_image_0000001154534788.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
||||||
<div class="note" id="swr_01_1000__note10514103775017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p15514133785011">The login key is encrypted and cannot be decrypted. Therefore, other users cannot obtain the SK from -p.</p>
|
<div class="note" id="swr_01_1000__note10514103775017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_01_1000__p15514133785011">The login key is encrypted and cannot be decrypted. Therefore, other users cannot obtain the SK from -p.</p>
|
||||||
<p id="swr_01_1000__p118301550175412">The login command can be used on other devices.</p>
|
<p id="swr_01_1000__p118301550175412">The login command can be used on other devices.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
<h1 class="topictitle1">Introduction</h1>
|
<h1 class="topictitle1">Introduction</h1>
|
||||||
<div id="body39451090"><p id="swr_03_0001__p15342161820390">SoftWare Repository for Container (SWR) allows you to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applications.</p>
|
<div id="body39451090"><p id="swr_03_0001__p15342161820390">SoftWare Repository for Container (SWR) allows you to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applications.</p>
|
||||||
<p id="swr_03_0001__p1681812142320">SWR can either work with CCE or be used as an independent container image repository.</p>
|
<p id="swr_03_0001__p1681812142320">SWR can either work with CCE or be used as an independent container image repository.</p>
|
||||||
<div class="fignone" id="swr_03_0001__fig1768232883512"><span class="figcap"><b>Figure 1 </b>How SWR works</span><br><span><img id="swr_03_0001__image1168318284350" src="en-us_image_0000001200534503.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="fignone" id="swr_03_0001__fig1768232883512"><span class="figcap"><b>Figure 1 </b>How SWR works</span><br><span><img id="swr_03_0001__image1168318284350" src="en-us_image_0000001200534503.png" height="142.370781" width="522.69" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
<div class="section" id="swr_03_0001__section16743153124814"><h4 class="sectiontitle">Features</h4><ul id="swr_03_0001__ul1759912521618"><li id="swr_03_0001__li09841958153313"><strong id="swr_03_0001__b26331721142513">Full lifecycle management of images</strong><p id="swr_03_0001__p868455919337">SWR manages the whole lifecycle of your container images, including push, pull, and deletion.</p>
|
<div class="section" id="swr_03_0001__section16743153124814"><h4 class="sectiontitle">Features</h4><ul id="swr_03_0001__ul1759912521618"><li id="swr_03_0001__li09841958153313"><strong id="swr_03_0001__b26331721142513">Full lifecycle management of images</strong><p id="swr_03_0001__p868455919337">SWR manages the whole lifecycle of your container images, including push, pull, and deletion.</p>
|
||||||
</li><li id="swr_03_0001__li206106143185"><strong id="swr_03_0001__b860611400259">Private image repository and access control</strong><p id="swr_03_0001__p8277103921812">Private image repository and fine-grained permission management allow you to grant different access permissions, namely, read, write, and edit, to different users.</p>
|
</li><li id="swr_03_0001__li206106143185"><strong id="swr_03_0001__b860611400259">Private image repository and access control</strong><p id="swr_03_0001__p8277103921812">Private image repository and fine-grained permission management allow you to grant different access permissions, namely, read, write, and edit, to different users.</p>
|
||||||
</li><li id="swr_03_0001__li7220559101818"><strong id="swr_03_0001__b92861354142514">P2P acceleration of large scale image distribution</strong><p id="swr_03_0001__p1145415391913">SWR uses the image download acceleration technology to ensure faster image pull for CCE clusters in high concurrency scenarios.</p>
|
</li><li id="swr_03_0001__li7220559101818"><strong id="swr_03_0001__b92861354142514">Large scale image distribution acceleration</strong><p id="swr_03_0001__p1145415391913">SWR uses the image pull acceleration technology to ensure faster image pull for CCE clusters in high concurrency scenarios.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_03_0001__section4302165852015"><h4 class="sectiontitle">Accessing SWR</h4><p id="swr_03_0001__p541813387127">The cloud platform provides a web-based management console and HTTPS-based APIs through which you can access the SWR service.</p>
|
<div class="section" id="swr_03_0001__section4302165852015"><h4 class="sectiontitle">Accessing SWR</h4><p id="swr_03_0001__p541813387127">The cloud platform provides a web-based management console and HTTPS-based APIs through which you can access the SWR service.</p>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_03_0002__section112531522102816"><h4 class="sectiontitle">Security and Reliability</h4><ul id="swr_03_0002__ul17430122711714"><li id="swr_03_0002__li3937193018710">SWR supports HTTPS to ensure secure image transmission, and provides multiple security isolation mechanisms between and inside accounts.</li><li id="swr_03_0002__li174301127673">Based on professional storage services, SWR provides highly reliable storage service for your container images.</li></ul>
|
<div class="section" id="swr_03_0002__section112531522102816"><h4 class="sectiontitle">Security and Reliability</h4><ul id="swr_03_0002__ul17430122711714"><li id="swr_03_0002__li3937193018710">SWR supports HTTPS to ensure secure image transmission, and provides multiple security isolation mechanisms between and inside accounts.</li><li id="swr_03_0002__li174301127673">Based on professional storage services, SWR provides highly reliable storage service for your container images.</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_03_0002__section193611048983"><h4 class="sectiontitle">Image Acceleration</h4><ul id="swr_03_0002__ul7401142810368"><li id="swr_03_0002__li8756154714417">SWR uses the P2P image download acceleration technology to ensure faster image pull for CCE clusters in high concurrency scenarios.</li><li id="swr_03_0002__li0401102816361">Intelligent node scheduling around the globe ensures that your image build tasks can be automatically assigned to the idle nodes nearest to the image repository.</li></ul>
|
<div class="section" id="swr_03_0002__section193611048983"><h4 class="sectiontitle">Image Acceleration</h4><p id="swr_03_0002__p11871154115391">SWR uses the image pull acceleration technology to ensure faster image pull for CCE clusters in high concurrency scenarios.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<div class="section" id="swr_03_0003__section14458832965"><h4 class="sectiontitle">Repository</h4><p id="swr_03_0003__p180616351862">Image repositories are used for storing Docker images. An image repository hosts different versions of a specific containerized application.</p>
|
<div class="section" id="swr_03_0003__section14458832965"><h4 class="sectiontitle">Repository</h4><p id="swr_03_0003__p180616351862">Image repositories are used for storing Docker images. An image repository hosts different versions of a specific containerized application.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_03_0003__section33077262290"><h4 class="sectiontitle">Organization</h4><p id="swr_03_0003__p158371654133315">Organizations are used to isolate image repositories. With each organization being limited to one company or department, images can be managed in a centralized and efficient manner. A user can access different organizations as long as the user has corresponding permissions. Different permissions, namely read, write, and manage, can be assigned to different users in the same account.</p>
|
<div class="section" id="swr_03_0003__section33077262290"><h4 class="sectiontitle">Organization</h4><p id="swr_03_0003__p158371654133315">Organizations are used to isolate image repositories. With each organization being limited to one company or department, images can be managed in a centralized and efficient manner. A user can access different organizations as long as the user has corresponding permissions. Different permissions, namely read, write, and manage, can be assigned to different users in the same account.</p>
|
||||||
<div class="fignone" id="swr_03_0003__fig1924953913304"><span class="figcap"><b>Figure 1 </b>Organization</span><br><span><img id="swr_03_0003__image1225011398305" src="en-us_image_0195122694.png" title="Click to enlarge" class="imgResize"></span></div>
|
<div class="fignone" id="swr_03_0003__fig1924953913304"><span class="figcap"><b>Figure 1 </b>Organization</span><br><span><img id="swr_03_0003__image1225011398305" src="en-us_image_0195122694.png" height="393.01500000000004" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -3,10 +3,9 @@
|
|||||||
<h1 class="topictitle1">Application Scenarios</h1>
|
<h1 class="topictitle1">Application Scenarios</h1>
|
||||||
<div id="body1605777841073"><div class="section" id="swr_03_0004__section19539191871014"><h4 class="sectiontitle">Image Lifecycle Management</h4><p id="swr_03_0004__p1647153321019">You can use SWR to build, push, pull, synchronize, and delete container images.</p>
|
<div id="body1605777841073"><div class="section" id="swr_03_0004__section19539191871014"><h4 class="sectiontitle">Image Lifecycle Management</h4><p id="swr_03_0004__p1647153321019">You can use SWR to build, push, pull, synchronize, and delete container images.</p>
|
||||||
<p id="swr_03_0004__p103844549107"><strong id="swr_03_0004__b223916516215">Advantages</strong></p>
|
<p id="swr_03_0004__p103844549107"><strong id="swr_03_0004__b223916516215">Advantages</strong></p>
|
||||||
<ul id="swr_03_0004__ul074291141116"><li id="swr_03_0004__li127421813115">P2P download acceleration ensures faster image pull for CCE clusters.</li><li id="swr_03_0004__li775454811111">Up to 99.999999999% image storage reliability is achieved by working with Object Storage Service (OBS).</li><li id="swr_03_0004__li1265011237125">Fine-grained authorization allows you to control access to specific images and images in specific organizations.</li></ul>
|
<ul id="swr_03_0004__ul074291141116"><li id="swr_03_0004__li127421813115">Pull acceleration ensures faster image pull for CCE clusters.</li><li id="swr_03_0004__li775454811111">Up to 99.999999999% image storage reliability is achieved by working with Object Storage Service (OBS).</li><li id="swr_03_0004__li1265011237125">Fine-grained authorization allows you to control access to specific images and images in specific organizations.</li></ul>
|
||||||
<p id="swr_03_0004__p122581051141216"><strong id="swr_03_0004__b636414992015">Related Services</strong></p>
|
<p id="swr_03_0004__p122581051141216"><strong id="swr_03_0004__b16223155916359">Related service: Cloud Container Engine (CCE)</strong></p>
|
||||||
<p id="swr_03_0004__p168941237">You can use SWR together with CCE in this scenario.</p>
|
<div class="fignone" id="swr_03_0004__fig20920152443512"><span class="figcap"><b>Figure 1 </b>SWR working with CCE</span><br><span><img id="swr_03_0004__image167148545120" src="en-us_image_0294353976.png" height="286.2825" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
<p id="swr_03_0004__p97156541413"><span><img id="swr_03_0004__image167148545120" src="en-us_image_0294353976.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<h1 class="topictitle1">Related Services</h1>
|
<h1 class="topictitle1">Related Services</h1>
|
||||||
<div id="body1548671332199"><p id="swr_03_0006__p6658253133619">SWR works with other cloud services and requires permissions to access them. For details, see <a href="#swr_03_0006__fig1799743414113">Figure 1</a>.</p>
|
<div id="body1548671332199"><p id="swr_03_0006__p6658253133619">SWR works with other cloud services and requires permissions to access them. For details, see <a href="#swr_03_0006__fig1799743414113">Figure 1</a>.</p>
|
||||||
<div class="fignone" id="swr_03_0006__fig1799743414113"><a name="swr_03_0006__fig1799743414113"></a><a name="fig1799743414113"></a><span class="figcap"><b>Figure 1 </b>Relationship between SWR and other services</span><br><span><img id="swr_03_0006__image799813420113" src="en-us_image_0196304259.png"></span></div>
|
<div class="fignone" id="swr_03_0006__fig1799743414113"><a name="swr_03_0006__fig1799743414113"></a><a name="fig1799743414113"></a><span class="figcap"><b>Figure 1 </b>Relationship between SWR and other services</span><br><span><img id="swr_03_0006__image799813420113" src="en-us_image_0196304259.png" width="NaN" height="NaN"></span></div>
|
||||||
<ul id="swr_03_0006__ul1814994418381"><li id="swr_03_0006__li1295195530">Cloud Container Engine (CCE)<p id="swr_03_0006__p12802124539"><a name="swr_03_0006__li1295195530"></a><a name="li1295195530"></a>CCE is a high-performance, high-reliability service through which enterprises can manage containerized applications. CCE supports native Kubernetes applications and tools, allowing you to easily set up a container runtime environment on the cloud.</p>
|
<ul id="swr_03_0006__ul1814994418381"><li id="swr_03_0006__li1295195530">Cloud Container Engine (CCE)<p id="swr_03_0006__p12802124539"><a name="swr_03_0006__li1295195530"></a><a name="li1295195530"></a>CCE is a high-performance, high-reliability service through which enterprises can manage containerized applications. CCE supports native Kubernetes applications and tools, allowing you to easily set up a container runtime environment on the cloud.</p>
|
||||||
<p id="swr_03_0006__p15295737636">SWR works seamlessly with CCE to allow you to deploy your images held by SWR on CCE clusters.</p>
|
<p id="swr_03_0006__p15295737636">SWR works seamlessly with CCE to allow you to deploy your images held by SWR on CCE clusters.</p>
|
||||||
</li><li id="swr_03_0006__li5221205420378">Cloud Trace Service (CTS)<p id="swr_03_0006__p1972910243388"><a name="swr_03_0006__li5221205420378"></a><a name="li5221205420378"></a>CTS generates traces to enable you to get a history of operations performed on cloud service resources. The content of a trace includes operation requests sent using the management console or open APIs as well as the operation results. You can view all generated traces to query, audit, and backtrack performed operations.</p>
|
</li><li id="swr_03_0006__li5221205420378">Cloud Trace Service (CTS)<p id="swr_03_0006__p1972910243388"><a name="swr_03_0006__li5221205420378"></a><a name="li5221205420378"></a>CTS generates traces to enable you to get a history of operations performed on cloud service resources. The content of a trace includes operation requests sent using the management console or open APIs as well as the operation results. You can view all generated traces to query, audit, and backtrack performed operations.</p>
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
<a name="swr_faq_0005"></a><a name="swr_faq_0005"></a>
|
|
||||||
|
|
||||||
<h1 class="topictitle1">Why Is an Image Uploaded Through the Client to SWR Different in Size From One Uploaded Through the SWR Console?</h1>
|
|
||||||
<div id="body1512611895325"><div class="section" id="swr_faq_0005__section254724910217"><h4 class="sectiontitle">Symptom</h4><p id="swr_faq_0005__p0775145012219">Assume that a nginx image of v2.0.0 is created on the local Docker client. The <strong id="swr_faq_0005__b19132114295111">docker images</strong> command is run to query <strong id="swr_faq_0005__b18899145645111">SIZE</strong> of the image. The size is <strong id="swr_faq_0005__b7378101814572">22.8 MB</strong>.</p>
|
|
||||||
<pre class="screen" id="swr_faq_0005__screen29382402517">$ docker images
|
|
||||||
REPOSITORY TAG IMAGE ID CREATED SIZE
|
|
||||||
nginx v2.0.0 22f2bf2e2b4f 9 days ago <strong id="swr_faq_0005__b18736139763">22.8MB</strong></pre>
|
|
||||||
<ol id="swr_faq_0005__ol119274261473"><li id="swr_faq_0005__li1292812261071">Run the <strong id="swr_faq_0005__b15690133615216">docker push</strong> command to upload the image to SWR. The size of the image is <strong id="swr_faq_0005__b41828312564">9.5 MB</strong>.<p id="swr_faq_0005__p152571725111011"></p>
|
|
||||||
</li><li id="swr_faq_0005__li4681055142114">On the local Docker client, pack the image into a <strong id="swr_faq_0005__b658522214914">.tar</strong> package. Download the <strong id="swr_faq_0005__b1346619214534">nginx.tar</strong> package to the local host, and upload the package to SWR. The size of the package is <strong id="swr_faq_0005__b633017120567">23.2 MB</strong>.<p id="swr_faq_0005__p313414304147"></p>
|
|
||||||
</li></ol>
|
|
||||||
<p id="swr_faq_0005__p19617252961">The size of the image uploaded through the client is different from that of the image uploaded through the SWR console.</p>
|
|
||||||
</div>
|
|
||||||
<div class="section" id="swr_faq_0005__section758691341519"><h4 class="sectiontitle">Cause Analysis</h4><p id="swr_faq_0005__p554618169154">Image layers are compressed into <strong id="swr_faq_0005__b419816203518">.tgz</strong> packages when images are uploaded to SWR through the client, whereas when they are uploaded through the SWR console, they are only packed without being compressed. Therefore, the same image will be of different sizes when it is uploaded in these two different ways.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div class="familylinks">
|
|
||||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_faq_1002.html">Image Management FAQs</a></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
@ -19,13 +19,10 @@
|
|||||||
<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__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__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__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">Organization name: The value contains a maximum of 64 characters and must meet regular expression <strong id="swr_faq_0006__b1217611365416">^([a-z]+(?:(?:(?:_|__|[-]*)[a-z0-9]+)+)?)$</strong>.</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">Image name: The value contains a maximum of 128 characters and must meet regular expression <strong id="swr_faq_0006__b01049441410">^([a-z0-9]+(?:(?:(?:_|__|[-]*)[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>
|
<p id="swr_faq_0006__p11991102812414">Specify a valid organization name or image name, and push the image again.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_faq_0006__section5425204218235"><h4 class="sectiontitle">Image Push Occasionally Times Out</h4><p id="swr_faq_0006__p141745132319"><strong id="swr_faq_0006__b158781590425">Problem</strong>: Image push occasionally times out.</p>
|
|
||||||
<p id="swr_faq_0006__p2099854612335"><strong id="swr_faq_0006__b617181474217">Solution</strong>: When you push an image from a server in Chinese mainland to a server outside Chinese mainland, the network may be unstable.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<div id="body1535018272825"><p id="swr_faq_0012__p161283561506">The following two approaches are for you to consider. Approach 1 is for images that will only be updated occasionally whereas approach 2 is for images that will be frequently updated.</p>
|
<div id="body1535018272825"><p id="swr_faq_0012__p161283561506">The following two approaches are for you to consider. Approach 1 is for images that will only be updated occasionally whereas approach 2 is for images that will be frequently updated.</p>
|
||||||
<ul id="swr_faq_0012__ul9505205920012"><li id="swr_faq_0012__li550515591805">Approach 1: creating a snapshot. This approach involves three key steps: (1) Start a base container by running a base image (for example, Ubuntu image); (2) install the container engine software inside the base container; (3) create a snapshot of the container.</li><li id="swr_faq_0012__li712901410">Approach 2: creating a Dockerfile to build an image. This approach involves two key steps: (1) Write software installation instructions into a Dockerfile; (2) run the <strong id="swr_faq_0012__b1997852871114">docker build</strong> command to build an image from the Dockerfile.</li></ul>
|
<ul id="swr_faq_0012__ul9505205920012"><li id="swr_faq_0012__li550515591805">Approach 1: creating a snapshot. This approach involves three key steps: (1) Start a base container by running a base image (for example, Ubuntu image); (2) install the container engine software inside the base container; (3) create a snapshot of the container.</li><li id="swr_faq_0012__li712901410">Approach 2: creating a Dockerfile to build an image. This approach involves two key steps: (1) Write software installation instructions into a Dockerfile; (2) run the <strong id="swr_faq_0012__b1997852871114">docker build</strong> command to build an image from the Dockerfile.</li></ul>
|
||||||
<div class="section" id="swr_faq_0012__section1017412550210"><a name="swr_faq_0012__section1017412550210"></a><a name="section1017412550210"></a><h4 class="sectiontitle">Approach 1: Creating a Snapshot</h4><p id="swr_faq_0012__p19402104151011">This approach is suitable for images that will only be updated occasionally.</p>
|
<div class="section" id="swr_faq_0012__section1017412550210"><a name="swr_faq_0012__section1017412550210"></a><a name="section1017412550210"></a><h4 class="sectiontitle">Approach 1: Creating a Snapshot</h4><p id="swr_faq_0012__p19402104151011">This approach is suitable for images that will only be updated occasionally.</p>
|
||||||
<p id="swr_faq_0012__p1036652764217"><span><img class="imgResize" id="swr_faq_0012__image135232026175316" src="en-us_image_0165153802.png" title="Click to enlarge"></span></p>
|
<div class="fignone" id="swr_faq_0012__fig61321912124615"><span class="figcap"><b>Figure 1 </b>Creating a snapshot</span><br><span><img class="imgResize" id="swr_faq_0012__image135232026175316" src="en-us_image_0165153802.png" width="522.69" height="277.65143175000003" title="Click to enlarge"></span></div>
|
||||||
<p id="swr_faq_0012__p1771713815316">Procedure:</p>
|
<p id="swr_faq_0012__p1771713815316">Procedure:</p>
|
||||||
<ol id="swr_faq_0012__ol19709554936"><li id="swr_faq_0012__li470919544318">Install the container engine software on a host.</li><li id="swr_faq_0012__li118181720511"><a name="swr_faq_0012__li118181720511"></a><a name="li118181720511"></a>Start an empty base container in the interactive mode.<p id="swr_faq_0012__p1845119176514"><a name="swr_faq_0012__li118181720511"></a><a name="li118181720511"></a>For example, start a CentOS container in the interactive mode.</p>
|
<ol id="swr_faq_0012__ol19709554936"><li id="swr_faq_0012__li470919544318">Install the container engine software on a host.</li><li id="swr_faq_0012__li118181720511"><a name="swr_faq_0012__li118181720511"></a><a name="li118181720511"></a>Start an empty base container in the interactive mode.<p id="swr_faq_0012__p1845119176514"><a name="swr_faq_0012__li118181720511"></a><a name="li118181720511"></a>For example, start a CentOS container in the interactive mode.</p>
|
||||||
<p id="swr_faq_0012__p43929288612"><strong id="swr_faq_0012__b1523781312340">docker run -it centos</strong></p>
|
<p id="swr_faq_0012__p43929288612"><strong id="swr_faq_0012__b1523781312340">docker run -it centos</strong></p>
|
||||||
@ -13,13 +13,13 @@
|
|||||||
<p id="swr_faq_0012__p152418311915"><strong id="swr_faq_0012__b1731774153413">cd bwa;make</strong></p>
|
<p id="swr_faq_0012__p152418311915"><strong id="swr_faq_0012__b1731774153413">cd bwa;make</strong></p>
|
||||||
<div class="note" id="swr_faq_0012__note93501350443"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_faq_0012__p7350452447">Install Git in advance and check whether an SSH key is set on the local host. </p>
|
<div class="note" id="swr_faq_0012__note93501350443"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_faq_0012__p7350452447">Install Git in advance and check whether an SSH key is set on the local host. </p>
|
||||||
</div></div>
|
</div></div>
|
||||||
</li><li id="swr_faq_0012__li187481532662">Run the <strong id="swr_faq_0012__b7234754151115">exit</strong> command to exit the container.</li></ol><ol start="5" id="swr_faq_0012__ol017278769"><li id="swr_faq_0012__li11813152220613">Create a snapshot.<div class="p" id="swr_faq_0012__p214963514618"><a name="swr_faq_0012__li11813152220613"></a><a name="li11813152220613"></a><b><span class="cmdname" id="swr_faq_0012__cmdname3613153119715">docker commit -m "xx" -a "test" container-id test/image:tag</span></b><ul id="swr_faq_0012__ul6717188238"><li id="swr_faq_0012__li37171381438"><strong id="swr_faq_0012__b6671826124">-a</strong>: indicates the author of the base image.</li><li id="swr_faq_0012__li207181681938"><strong id="swr_faq_0012__b194991685127">container-id</strong>: indicates the ID of the container you have started in step <a href="#swr_faq_0012__li118181720511">2</a>. You can run the <strong id="swr_faq_0012__b1816761410124">docker ps -a</strong> command to query the container ID.</li><li id="swr_faq_0012__li47181081315"><strong id="swr_faq_0012__b16425121711126">-m</strong>: indicates the commit message.</li><li id="swr_faq_0012__li1718148637"><strong id="swr_faq_0012__b11971111911210">test/image:tag</strong>: indicates the repository name/image name:tag name.</li></ul>
|
</li><li id="swr_faq_0012__li187481532662">Run the <strong id="swr_faq_0012__b7234754151115">exit</strong> command to exit the container.</li></ol><ol start="5" id="swr_faq_0012__ol017278769"><li id="swr_faq_0012__li11813152220613">Create a snapshot.<div class="p" id="swr_faq_0012__p214963514618"><a name="swr_faq_0012__li11813152220613"></a><a name="li11813152220613"></a><strong id="swr_faq_0012__b10385122955815">docker commit -m "xx" -a "test" container-id test/image:tag</strong><ul id="swr_faq_0012__ul6717188238"><li id="swr_faq_0012__li37171381438"><strong id="swr_faq_0012__b6671826124">-a</strong>: indicates the author of the base image.</li><li id="swr_faq_0012__li207181681938"><strong id="swr_faq_0012__b194991685127">container-id</strong>: indicates the ID of the container you have started in step <a href="#swr_faq_0012__li118181720511">2</a>. You can run the <strong id="swr_faq_0012__b1816761410124">docker ps -a</strong> command to query the container ID.</li><li id="swr_faq_0012__li47181081315"><strong id="swr_faq_0012__b16425121711126">-m</strong>: indicates the commit message.</li><li id="swr_faq_0012__li1718148637"><strong id="swr_faq_0012__b11971111911210">test/image:tag</strong>: indicates the repository name/image name:tag name.</li></ul>
|
||||||
</div>
|
</div>
|
||||||
</li></ol><ol start="6" id="swr_faq_0012__ol113581114181114"><li id="swr_faq_0012__li13358141414115">Run the <strong id="swr_faq_0012__b4222132241213">docker images</strong> command to list the built container image.</li></ol>
|
</li></ol><ol start="6" id="swr_faq_0012__ol113581114181114"><li id="swr_faq_0012__li13358141414115">Run the <strong id="swr_faq_0012__b4222132241213">docker images</strong> command to list the built container image.</li></ol>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_faq_0012__section1690134131216"><a name="swr_faq_0012__section1690134131216"></a><a name="section1690134131216"></a><h4 class="sectiontitle">Approach 2: Creating a Dockerfile to Build an Image</h4><p id="swr_faq_0012__p68391374108">This approach is suitable for images that will be frequently updated. In <a href="#swr_faq_0012__section1017412550210">Approach 1</a>, you create a snapshot of the whole container. This could be demanding if you need to frequently update your images. In this case, <a href="#swr_faq_0012__section1690134131216">Approach 2</a> is put forward to automate the image build process.</p>
|
<div class="section" id="swr_faq_0012__section1690134131216"><a name="swr_faq_0012__section1690134131216"></a><a name="section1690134131216"></a><h4 class="sectiontitle">Approach 2: Creating a Dockerfile to Build an Image</h4><p id="swr_faq_0012__p68391374108">This approach is suitable for images that will be frequently updated. In <a href="#swr_faq_0012__section1017412550210">Approach 1</a>, you create a snapshot of the whole container. This could be demanding if you need to frequently update your images. In this case, <a href="#swr_faq_0012__section1690134131216">Approach 2</a> is put forward to automate the image build process.</p>
|
||||||
<p id="swr_faq_0012__p1954145242410">The idea behind <a href="#swr_faq_0012__section1690134131216">Approach 2</a> is to write the process of <a href="#swr_faq_0012__section1017412550210">Approach 1</a> into a Dockerfile and then run the <strong id="swr_faq_0012__b10213102814125">docker build -t test/image:tag.</strong> command to automatically build an image from the Dockerfile. In the preceding command, <strong id="swr_faq_0012__b6214152819126">.</strong> indicates the path to the Dockerfile.</p>
|
<p id="swr_faq_0012__p1954145242410">The idea behind <a href="#swr_faq_0012__section1690134131216">Approach 2</a> is to write the process of <a href="#swr_faq_0012__section1017412550210">Approach 1</a> into a Dockerfile and then run the <strong id="swr_faq_0012__b10213102814125">docker build -t test/image:tag.</strong> command to automatically build an image from the Dockerfile. In the preceding command, <strong id="swr_faq_0012__b6214152819126">.</strong> indicates the path to the Dockerfile.</p>
|
||||||
<p id="swr_faq_0012__p9785132614310"><span><img class="imgResize" id="swr_faq_0012__image934447463" src="en-us_image_0165153805.png" title="Click to enlarge"></span></p>
|
<div class="fignone" id="swr_faq_0012__fig5947936184615"><span class="figcap"><b>Figure 2 </b>Creating a Dockerfile to build an image</span><br><span><img class="imgResize" id="swr_faq_0012__image529642210512" src="en-us_image_0165153805.png" width="522.69" height="196.50750000000002" title="Click to enlarge"></span></div>
|
||||||
<p id="swr_faq_0012__p15189452181213">Example Dockerfile:</p>
|
<p id="swr_faq_0012__p15189452181213">Example Dockerfile:</p>
|
||||||
<div class="note" id="swr_faq_0012__note1922523450"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_faq_0012__p83175220459">If an external network is required, ensure that network connectivity is available.</p>
|
<div class="note" id="swr_faq_0012__note1922523450"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="swr_faq_0012__p83175220459">If an external network is required, ensure that network connectivity is available.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
<a name="swr_faq_0013"></a><a name="swr_faq_0013"></a>
|
<a name="swr_faq_0013"></a><a name="swr_faq_0013"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">SWR Overview</h1>
|
<h1 class="topictitle1">About SWR</h1>
|
||||||
<div id="body1542076097061"><div class="section" id="swr_faq_0013__section182849201436"><h4 class="sectiontitle">How Many Images Can Be Stored in SWR?</h4><p id="swr_faq_0013__p10136182416315">SWR has no limit on the number of images. You can upload any number of images.</p>
|
<div id="body1542076097061"><div class="section" id="swr_faq_0013__section182849201436"><h4 class="sectiontitle">How Many Images Can Be Stored in SWR?</h4><p id="swr_faq_0013__p10136182416315">SWR has no limit on the number of images. You can upload any number of images.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_faq_0013__section1072511305315"><h4 class="sectiontitle">Can I Push Arm-based Container Images to SWR?</h4><p id="swr_faq_0013__p1083915382310">SWR has no restriction on the kernel architecture of images. There is no difference between pushing an Arm-based image and an x86-based image to SWR.</p>
|
<div class="section" id="swr_faq_0013__section1269552018488"><h4 class="sectiontitle">What Is the Bandwidth of SWR?</h4><p id="swr_faq_0013__p1462824214481">The bandwidth of SWR dynamically changes based on actual usage.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_faq_0013__section0837338044"><h4 class="sectiontitle">What Protocol Is Used to Push Images to SWR When I Run the docker push Command?</h4><p id="swr_faq_0013__p598810458418">HTTPS is used.</p>
|
<div class="section" id="swr_faq_0013__section320051771015"><h4 class="sectiontitle">Is SWR Charged?</h4><p id="swr_faq_0013__p8060118">The billing items of SWR include storage space and traffic. Currently, it is free of charge.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_faq_0013__section4834163951313"><h4 class="sectiontitle">Will an Image Be Overwritten If I Push an Image That Have the Same Name and Tag with it?</h4><p id="swr_faq_0013__p9334114114130">Yes, the original image will be overwritten.</p>
|
<div class="section" id="swr_faq_0013__section916216329013"><h4 class="sectiontitle">Does SWR Support Querying the CPU Architecture (x86 or Arm) of an Image?</h4><ul id="swr_faq_0013__ul108431511124"><li id="swr_faq_0013__li20843155141211">For a public image, you can log in to the SWR console, go to the image center, search for the target image, and view its details, including the architectures supported by the image.</li></ul>
|
||||||
|
<ul id="swr_faq_0013__ul2066741519121"><li id="swr_faq_0013__li9667191513127">For a private image, you can Run <strong id="swr_faq_0013__b1212903818125">docker inspect </strong><strong id="swr_faq_0013__b6506357115920"> [<em id="swr_faq_0013__i31691646011">Image name</em>:<em id="swr_faq_0013__i1623615919017">Version name</em>]</strong> to query the image architecture.</li></ul>
|
||||||
|
<p id="swr_faq_0013__p7420889618"><em id="swr_faq_0013__i1217822111116">Example: <strong id="swr_faq_0013__b1753235719017">docker inspect openjdk:7</strong>.</em></p>
|
||||||
|
<div class="fignone" id="swr_faq_0013__fig10941264813"><span class="figcap"><b>Figure 1 </b>Example</span><br><span><img id="swr_faq_0013__image1995156585" src="en-us_image_0000001539405909.png" height="202.4925" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@ -16,3 +19,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
image_size('.imgResize');
|
||||||
|
var msg_imageMax = "view original image";
|
||||||
|
var msg_imageClose = "close";
|
||||||
|
//--></script>
|
@ -11,11 +11,10 @@
|
|||||||
</li><li id="swr_faq_0016__li8810124123620">The image repository address in the login command is incorrect, in which case the following error is reported:<p id="swr_faq_0016__p3887111061811"><a name="swr_faq_0016__li8810124123620"></a><a name="li8810124123620"></a><span class="parmname" id="swr_faq_0016__parmname74741137172014"><b>Error llgging in to v2 endpoint, trying next endpoint: Get https://{{endpoint}}/v2/: dial tcp: lookup {{endpoint}} on xxx.xxx.xxx.xxx:53 : no such host</b></span></p>
|
</li><li id="swr_faq_0016__li8810124123620">The image repository address in the login command is incorrect, in which case the following error is reported:<p id="swr_faq_0016__p3887111061811"><a name="swr_faq_0016__li8810124123620"></a><a name="li8810124123620"></a><span class="parmname" id="swr_faq_0016__parmname74741137172014"><b>Error llgging in to v2 endpoint, trying next endpoint: Get https://{{endpoint}}/v2/: dial tcp: lookup {{endpoint}} on xxx.xxx.xxx.xxx:53 : no such host</b></span></p>
|
||||||
<p id="swr_faq_0016__p11837192511914"><strong id="swr_faq_0016__b10860142153717">Solutions</strong>:</p>
|
<p id="swr_faq_0016__p11837192511914"><strong id="swr_faq_0016__b10860142153717">Solutions</strong>:</p>
|
||||||
<ol type="a" id="swr_faq_0016__ol17536172718198"><li id="swr_faq_0016__li634415126242">Change the image repository address in the login command.</li><li id="swr_faq_0016__li1799316130211">Generate a temporary login command. For detailed instructions, see <a href="#swr_faq_0016__li48456813192">2</a>.</li></ol>
|
<ol type="a" id="swr_faq_0016__ol17536172718198"><li id="swr_faq_0016__li634415126242">Change the image repository address in the login command.</li><li id="swr_faq_0016__li1799316130211">Generate a temporary login command. For detailed instructions, see <a href="#swr_faq_0016__li48456813192">2</a>.</li></ol>
|
||||||
</li><li id="swr_faq_0016__li1116344465619"><strong id="swr_faq_0016__b92561268110">x509: certficate has expired or is not yet valid</strong><p id="swr_faq_0016__p1148761120418">The preceding error is reported when the AK/SK in the login command with long-term validity is deleted. In this case, use a valid AK/SK to generate a login command.</p>
|
</li><li id="swr_faq_0016__li1116344465619"><strong id="swr_faq_0016__b92561268110">x509: certificate has expired or is not yet valid</strong><p id="swr_faq_0016__p1148761120418">The preceding error is reported when the AK/SK in the login command with long-term validity is deleted. In this case, use a valid AK/SK to generate a login command.</p>
|
||||||
</li><li id="swr_faq_0016__li536512401265"><strong id="swr_faq_0016__b25641546102617">x509: certficate signed by unknown authority</strong><p id="swr_faq_0016__p11370201123212"><strong id="swr_faq_0016__b564022718325">Possible Causes</strong>:</p>
|
</li><li id="swr_faq_0016__li536512401265"><strong id="swr_faq_0016__b25641546102617">x509: certificate signed by unknown authority</strong><p id="swr_faq_0016__p11370201123212"><strong id="swr_faq_0016__b564022718325">Possible Causes</strong>:</p>
|
||||||
<p id="swr_faq_0016__p4437135662719">The container engine client communicates with SWR through HTTPS. The client verifies the server certificate. If the server certificate is not issued by an authoritative organization, the following error message is displayed: "x509: certficate signed by unknown authority".</p>
|
<p id="swr_faq_0016__p4437135662719">The container engine client communicates with SWR through HTTPS. The client verifies the server certificate. If the server certificate is not issued by an authoritative organization, the following error message is displayed: "x509: certificate signed by unknown authority"</p>
|
||||||
<p id="swr_faq_0016__p18585322143520"><span><img id="swr_faq_0016__image105855223357" src="en-us_image_0000001137013964.png" title="Click to enlarge" class="imgResize"></span></p>
|
<p id="swr_faq_0016__p7728141713212"><strong id="swr_faq_0016__b1479592488">Solutions</strong>:</p>
|
||||||
<p id="swr_faq_0016__p7728141713212"><strong id="swr_faq_0016__b1904938791">Solutions</strong>:</p>
|
|
||||||
<p id="swr_faq_0016__p4665192433211">If you trust the server and skip certificate authentication, manually configure Docker startup parameters as follows:</p>
|
<p id="swr_faq_0016__p4665192433211">If you trust the server and skip certificate authentication, manually configure Docker startup parameters as follows:</p>
|
||||||
<ul id="swr_faq_0016__ul1566119153512"><li id="swr_faq_0016__li566101917353">CentOS:<p id="swr_faq_0016__p1552414310352"><a name="swr_faq_0016__li566101917353"></a><a name="li566101917353"></a>Modify the <span class="filepath" id="swr_faq_0016__filepath368710155463"><b>/etc/docker/daemon.json</b></span> file. If the file does not exist, manually create it. Add the following content to the file:</p>
|
<ul id="swr_faq_0016__ul1566119153512"><li id="swr_faq_0016__li566101917353">CentOS:<p id="swr_faq_0016__p1552414310352"><a name="swr_faq_0016__li566101917353"></a><a name="li566101917353"></a>Modify the <span class="filepath" id="swr_faq_0016__filepath368710155463"><b>/etc/docker/daemon.json</b></span> file. If the file does not exist, manually create it. Add the following content to the file:</p>
|
||||||
<pre class="screen" id="swr_faq_0016__screen81658473718">{
|
<pre class="screen" id="swr_faq_0016__screen81658473718">{
|
||||||
@ -38,10 +37,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script language="JavaScript">
|
|
||||||
<!--
|
|
||||||
image_size('.imgResize');
|
|
||||||
var msg_imageMax = "view original image";
|
|
||||||
var msg_imageClose = "close";
|
|
||||||
//--></script>
|
|
@ -5,17 +5,17 @@
|
|||||||
<p id="swr_faq_0033__p16834536153112"><strong id="swr_faq_0033__b31499462344">Possible Causes</strong>:</p>
|
<p id="swr_faq_0033__p16834536153112"><strong id="swr_faq_0033__b31499462344">Possible Causes</strong>:</p>
|
||||||
<ul id="swr_faq_0033__ul936161612320"><li id="swr_faq_0033__li4371916123212">A container engine client and SWR communicate with each other using HTTPS. When the client verifies the server certificate and finds that the root certificate installed on the client is incomplete, the error message "x509: certificate signed by unknown certificates" is displayed.</li><li id="swr_faq_0033__li33791613325">A proxy is configured on the container engine client.</li></ul>
|
<ul id="swr_faq_0033__ul936161612320"><li id="swr_faq_0033__li4371916123212">A container engine client and SWR communicate with each other using HTTPS. When the client verifies the server certificate and finds that the root certificate installed on the client is incomplete, the error message "x509: certificate signed by unknown certificates" is displayed.</li><li id="swr_faq_0033__li33791613325">A proxy is configured on the container engine client.</li></ul>
|
||||||
<p id="swr_faq_0033__p1580114233323"><strong id="swr_faq_0033__b5581127163015">Solution</strong>:</p>
|
<p id="swr_faq_0033__p1580114233323"><strong id="swr_faq_0033__b5581127163015">Solution</strong>:</p>
|
||||||
<ul id="swr_faq_0033__ul194161259174015"><li id="swr_faq_0033__li869425433318">If you trust the server, skip certificate authentication. Specifically, manually configure the container engine startup parameters using either of the following two methods. Replace <em id="swr_faq_0033__i280994220305">Image repository address</em> with the actual SWR repository address.<ul id="swr_faq_0033__ul346575933314"><li id="swr_faq_0033__li17416135913408">Add the following configuration to the <strong id="swr_faq_0033__b15347123616359">/etc/docker/daemon.json</strong> file. If the file does not exist, manually create it. Ensure that two-space indents are used in the configuration.<pre class="screen" id="swr_faq_0033__screen755711319390">{
|
<ul id="swr_faq_0033__ul194161259174015"><li id="swr_faq_0033__li869425433318">If you trust the server and skip certificate authentication, manually configure the startup parameters for the container engine using either of the following methods (use the actual image repository address):<ul id="swr_faq_0033__ul346575933314"><li id="swr_faq_0033__li17416135913408">Add the following configuration to the <strong id="swr_faq_0033__b15347123616359">/etc/docker/daemon.json</strong> file. If the file does not exist, manually create it. Ensure that two-space indents are used in the configuration.<pre class="screen" id="swr_faq_0033__screen755711319390">{
|
||||||
"insecure-registries":["<em id="swr_faq_0033__i8453115444415">Image repository address</em>"]
|
"insecure-registries":["<em id="swr_faq_0033__i8453115444415">Image repository address</em>"]
|
||||||
}</pre>
|
}</pre>
|
||||||
</li><li id="swr_faq_0033__li17738815418">/etc/sysconfig/docker:<pre class="screen" id="swr_faq_0033__screen1336442311419">INSECURE_REGISTRY='--insecure-registry=<em id="swr_faq_0033__i8535185915449">Image repository address</em>'</pre>
|
</li><li id="swr_faq_0033__li17738815418">/etc/sysconfig/docker:<pre class="screen" id="swr_faq_0033__screen1336442311419">INSECURE_REGISTRY='--insecure-registry=<em id="swr_faq_0033__i8535185915449">Image repository address</em>'</pre>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
<p id="swr_faq_0033__p3125645342">After configuration, run the <strong id="swr_faq_0033__b18119817113213">systemctl restart docker</strong> or <strong id="swr_faq_0033__b012541714329">service restart docker</strong> command to restart the container engine.</p>
|
<p id="swr_faq_0033__p3125645342">After configuration, run the <strong id="swr_faq_0033__b18119817113213">systemctl restart docker</strong> or <strong id="swr_faq_0033__b012541714329">service docker start</strong> command to restart the container engine.</p>
|
||||||
</li><li id="swr_faq_0033__li1779938173419">Run the <strong id="swr_faq_0033__b156091110173614">docker info</strong> command to check whether the proxy is correctly configured. If not, modify the configuration.</li></ul>
|
</li><li id="swr_faq_0033__li1779938173419">Run the <strong id="swr_faq_0033__b156091110173614">docker info</strong> command to check whether the proxy is correctly configured. If not, modify the configuration.</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="swr_faq_0033__section13696153664310"><h4 class="sectiontitle">Error: remote trust data does not exist</h4><p id="swr_faq_0033__p085310526434"><strong id="swr_faq_0033__b319151312135">Problem</strong>: When you run the <strong id="swr_faq_0033__b46390105135">docker pull</strong> command to pull an image from SWR, message "Error: remote trust data does not exist" is displayed.</p>
|
<div class="section" id="swr_faq_0033__section13696153664310"><h4 class="sectiontitle">Error: remote trust data does not exist</h4><p id="swr_faq_0033__p085310526434"><strong id="swr_faq_0033__b319151312135">Problem</strong>: When you run the <strong id="swr_faq_0033__b46390105135">docker pull</strong> command to pull an image from SWR, message "Error: remote trust data does not exist" is displayed.</p>
|
||||||
<p id="swr_faq_0033__p5853175220439"><strong id="swr_faq_0033__b3221813171419">Possible cause</strong>: The image signature verification is enabled on the client. However, the image to be pulled does not contain a signature layer.</p>
|
<p id="swr_faq_0033__p5853175220439"><strong id="swr_faq_0033__b3221813171419">Possible cause</strong>: The image signature verification is enabled on the client. However, the image to be pulled does not contain a signature layer.</p>
|
||||||
<p id="swr_faq_0033__p1085315244316"><strong id="swr_faq_0033__b36698162369">Solution</strong>: Check whether the environment variable <strong id="swr_faq_0033__b567521620364">DOCKER_CONTENT_TRUST</strong> is set to <strong id="swr_faq_0033__b1067519163365">1</strong>. If yes, delete <strong id="swr_faq_0033__b1567591619368">DOCKER_CONTENT_TRUST=1</strong> from the <strong id="swr_faq_0033__b66761516133619">/etc/profile</strong> file and run the <strong id="swr_faq_0033__b19676181653618">source /etc/profile</strong> command to make the modification take effect.</p>
|
<p id="swr_faq_0033__p1085315244316"><strong id="swr_faq_0033__b11529201213384">Solution</strong>: Check whether the environment variable <strong id="swr_faq_0033__b95293122387">DOCKER_CONTENT_TRUST</strong> is set to <strong id="swr_faq_0033__b953061253814">1</strong>. If yes, delete <strong id="swr_faq_0033__b12106105718386">DOCKER_CONTENT_TRUST=1</strong> from the <strong id="swr_faq_0033__b91061757183816">/etc/profile</strong> file and run the <strong id="swr_faq_0033__b1810635718381">source /etc/profile</strong> command to make the modification take effect.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
<a name="swr_faq_0035"></a><a name="swr_faq_0035"></a>
|
|
||||||
|
|
||||||
<h1 class="topictitle1">Can I Pull Container Images on the SWR Console to a Local PC?</h1>
|
|
||||||
<div id="body1589873203872"><p id="swr_faq_0035__p67650506220">Container images stored in SWR cannot be directly downloaded through the console. You can perform the following operations to pull the images:</p>
|
|
||||||
<ol id="swr_faq_0035__ol1316065513225"><li id="swr_faq_0035__li13347191811239">Obtain the image pull command on the image details page.</li><li id="swr_faq_0035__li19160455122212">Run the obtained command on the device where the Docker client is installed.<p id="swr_faq_0035__p1837391092319"><a name="swr_faq_0035__li19160455122212"></a><a name="li19160455122212"></a>Example: </p>
|
|
||||||
<p id="swr_faq_0035__p164472310305"><strong id="swr_faq_0035__b044823193013">docker pull swr.eu-de.otc.t-systems.com/group/nginx:v1</strong></p>
|
|
||||||
</li><li id="swr_faq_0035__li1799219882315">Save the image as a TAR or TAR.GZ file.<p id="swr_faq_0035__p7255115972911"><a name="swr_faq_0035__li1799219882315"></a><a name="li1799219882315"></a>Example: </p>
|
|
||||||
<p id="swr_faq_0035__p19381134318294"><strong id="swr_faq_0035__b18976112612422">docker save</strong><strong id="swr_faq_0035__b4430113023015"> nginx:v1 </strong><strong id="swr_faq_0035__b109441226185010">></strong><strong id="swr_faq_0035__b143012301309"> nginx.tar</strong></p>
|
|
||||||
</li><li id="swr_faq_0035__li31884802316">Download the file to the local host.</li></ol>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div class="familylinks">
|
|
||||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_faq_1002.html">Image Management FAQs</a></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
@ -4,12 +4,18 @@
|
|||||||
<div id="body1570520954761"></div>
|
<div id="body1570520954761"></div>
|
||||||
<div>
|
<div>
|
||||||
<ul class="ullinks">
|
<ul class="ullinks">
|
||||||
<li class="ulchildlink"><strong><a href="swr_faq_0013.html">SWR Overview</a></strong><br>
|
<li class="ulchildlink"><strong><a href="swr_faq_1011.html">What Is SWR?</a></strong><br>
|
||||||
|
</li>
|
||||||
|
<li class="ulchildlink"><strong><a href="swr_faq_0013.html">About SWR</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="swr_faq_0012.html">How Do I Create a Container Image?</a></strong><br>
|
<li class="ulchildlink"><strong><a href="swr_faq_0012.html">How Do I Create a Container Image?</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="swr_faq_0004.html">How Do I Create an Image Package?</a></strong><br>
|
<li class="ulchildlink"><strong><a href="swr_faq_0004.html">How Do I Create an Image Package?</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="ulchildlink"><strong><a href="en-us_topic_0000001539549873.html">Are There Quotas for SWR Resources?</a></strong><br>
|
||||||
|
</li>
|
||||||
|
<li class="ulchildlink"><strong><a href="en-us_topic_0000001488470084.html">Why Does Organization Creation Fail?</a></strong><br>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|