[英]Amazon ECR registry as Private registry
Cant I use Amazon ECR
registry the same was as I am creating private registry
? 不能使用
Amazon ECR
注册表与创建private registry
吗?
docker push <ecr/registry/ip>/<image_name>
docker pull <ecr/registry/ip>/<image_name>
we need to use aws cli
, but I dont want to use the same and handle it via private registry method. 我们需要使用
aws cli
,但是我不想使用它并通过私有注册表方法来处理它。 Any leads? 任何线索?
You will need to use aws cli
, 您将需要使用
aws cli
,
aws ecr get-login --registry-ids 012345678910 023456789012
This command will output one or more docker login
commands for you that includes a user, a password and the specific registry urls for the registries that you requested, then you can eval
the output or run the command(s) manually, after that you can use docker pull
and docker push
. 该命令将为您输出一个或多个
docker login
命令,包括用户,密码和您请求的注册表的特定注册表URL,然后您可以eval
输出或手动运行命令,之后即可使用docker pull
和docker push
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.