Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An image does not exist locally with the tag: {account_id}.dkr.ecr.{region}.amazonaws.com/{image} 에러가 날 때 #20

Open
magicpieh28 opened this issue Jul 12, 2020 · 0 comments

Comments

@magicpieh28
Copy link
Owner

먼저 AWS Elastic Container Registry (이하 ECR) 에 {image}라는 repository 가 있는지 확인한다.

$ aws ecr describe-images --repository-name {image}

없다면 만든다.

$ aws ecr create-repository --repository-name {image}

local 에 {image} 가 없어서 에러가 나는 것이므로 local 에 {image} 를 pull 한다.

$ docker pull {account_id}.dkr.ecr.{region}.amazonaws.com/{image}:{tag}

보통 태그는 latest를 붙여서 가져온다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant