Skip to main content

aws-ecr

Manage AWS ECR container image repositories.

소스 정보

저장소
ThinkfleetAI/thinkfleet-engine
최근 소스 활동
2026년 2월 1일 16:21
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
aws-ecr
description
Manage AWS ECR container image repositories.
metadata
{"thinkfleetbot":{"emoji":"🐋","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# AWS ECR Manage Elastic Container Registry repositories and images. ## List repositories ```bash aws ecr describe-repositories --query 'repositories[].{Name:repositoryName,Uri:repositoryUri,Created:createdAt}' --output table ``` ## List images ```bash aws ecr list-images --repository-name my-repo --query 'imageIds[].{Tag:imageTag,Digest:imageDigest}' --output table | head -20 ``` ## Describe images (with size/push date) ```bash aws ecr describe-images --repository-name my-repo --query 'imageDetails | sort_by(@, &imagePushedAt) | reverse(@)[:10].{Tags:imageTags[0],Size:imageSizeInBytes,Pushed:imagePushedAt}' --output table ``` ## Get login token (for docker push/pull) ```bash aws ecr get-login-password | docker login --username AWS --password-stdin $(aws sts get-caller-identity --query Account --output text).dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com ``` ## Delete image ```bash aws ecr batch-delete-image --repository-name my-repo --image-ids imageTag=old-tag | jq '{Deleted: .imageIds, Failures: .failures}' ``` ## Get lifecycle policy ```bash aws ecr get-lifecycle-policy --repository-name my-repo | jq '.lifecyclePolicyText | fromjson' ``` ## Notes - Login tokens expire after 12 hours. - Use lifecycle policies to auto-clean old images. - Confirm before deleting images.
GitHub에서 보기