- 最新
- 最多得票
- 最多評論
Hello.
There are several possible causes, but first, please make sure that the ECR repository URL and name are correct.
Also, make sure you are using the correct IAM user credentials (access key, secret access key) if you are running the command on your local PC.
You can also create Docker images with CloudShell, so try creating a container image with CloudShell instead of your local PC and push it to ECR.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html
Have you already created a my-image repository in ECR? Or have you Typo it?
I thought that another possibility would be a problem with authentication, but since hello-world worked, I thought that the repository might not be ready.
I already created that repository and verified the name itself
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
I've verified the credentials, urls and everything
Have you tried building a Docker image using CloudShell instead of your local PC and pushing it to ECR? By the way, is there a policy set for IAM users to push to ECR? At a minimum, the following IAM policy must be set. https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-push.html
Is there a way to debug to see whats happening inside docker daemon when i execute docker push in mac?
If you create "daemon.json" and configure as below, debugging will be enabled on the daemon, but I feel like I can't see the debug log of docker push. https://docs.docker.com/desktop/settings/mac/#docker-engine
i have even reinstalled docker in my machine.. I can able to push some sample images.. For Ex : busybox Not able to push my own image.
Even if i set debug=true on docker desktop, i don't see anything on console while pushing docker images.
{ "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental": false, "debug": true }