检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Overview For SWR Shared Edition, if your container engine client is installed on a CCE node or an ECS, you have three choices for the network used to pull and push images.
If your container engine client is an ECS or CCE node, you can push an image over two types of networks. If your client and the image repository are in the same region, you can push an image over private networks.
For example, if an IAM user wants to call an API to query ECSs, the user must be granted the permissions allowing for action ecs:servers:list. Supported Actions SWR provides system-defined policies that can be directly used in IAM.
To install a specific version, see Install Docker Engine. curl -fsSL get.docker.com -o get-docker.sh sh get-docker.sh sudo systemctl daemon-reload sudo systemctl restart docker EulerOS Perform the following steps: Log in to the ECS where you want to install Docker.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Approach 2: Restarting an Elastic Cloud Server (ECS) will invalidate updates to the /etc/resolv.conf file on this ECS. You will have to update the file again.
In the ECS list, select the ECS to which an EIP is to be bound, and choose More > Manage Network > Bind EIP in the Operation column. Select an EIP and click OK. Figure 2 Binding an EIP After the ECS is bound to the EIP, you can view the bound EIP in the ECS list.
Private Network Access If your container engine client is installed on a CCE node or an ECS that is in the same region as the image repository, you can push or pull an image using a private network. Private network access does not need any configurations.
After the ECS is created, return to the ECS list and click Remote Login to log in to the ECS as user root.