aws-ecr Verified for current stable LTS

Aws Ecr Command: Delete Repository

An engineer would use the 'aws ecr delete-repository --repository-name {{repository}} --force' command when they need to permanently remove a specific Amazon ECR repository and all of its images to free up resources or to clean up obsolete repositories in their AWS environment. Exact CLI syntax to delete repository using Aws Ecr.

When to use this: An engineer would use the 'aws ecr delete-repository --repository-name {{repository}} --force' command when they need to permanently remove a specific Amazon ECR repository and all of its images to free up resources or to clean up obsolete repositories in their AWS environment.
Destructive Command Warning

Destructive operation. Confirm the target path and keep a backup before executing.

Command Syntax

aws ecr delete-repository --repository-name <repository> --force

Command Breakdown

--repository-name
Command Option
Tool-specific option used by this command invocation.
--force
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to delete 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

Back to Aws Ecr directory