aws-ecr
Verified for current stable LTS
Aws Ecr Command: Delete Image From Repository
Use for delete image from repository with Aws Ecr. Exact CLI syntax to delete image from repository using Aws Ecr.
When to use this: Use for delete image from repository with Aws Ecr.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
aws ecr batch-delete-image --repository-name <repository> --image-ids imageTag=<latest> aws ecr batch-delete-image --repository-name <repository> --image-ids imageTag=<latest> Command Breakdown
--repository-name- Command Option
- Tool-specific option used by this command invocation.
--image-ids- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to delete image from repository using Aws Ecr.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Aws Ecr Command: Authenticate Docker
aws ecr get-login-password --region <region> | <docker login> --username AWS --password-stdin <aws_account_id>.dkr.ecr.<region>.amazonaws.com Aws Ecr Command: Authenticate Docker Default Registry aws ecr get-login-password --region <region> | <docker login> --username AWS --password-stdin <aws_account_id>.dkr.ecr.<region>.amazonaws.com Aws Ecr Command: Create Repository aws ecr create-repository --repository-name <repository> --image-scanning-configuration scanOnPush=<true|false> --region <region> Aws Ecr Command: Create Repository Ecr aws ecr create-repository --repository-name <repository> --image-scanning-configuration scanOnPush=<true|false> --region <region> Aws Ecr Command: Delete Image aws ecr batch-delete-image --repository-name <repository> --image-ids imageTag=<latest>