container-registry-management

aj-geddes/useful-ai-prompts · updated Apr 8, 2026

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill container-registry-management
0 commentsdiscussion
summary

Implement comprehensive container registry management including image scanning, vulnerability detection, retention policies, access control, and multi-region replication.

skill.md

Container Registry Management

Table of Contents

Overview

Implement comprehensive container registry management including image scanning, vulnerability detection, retention policies, access control, and multi-region replication.

When to Use

  • Container image storage and distribution
  • Security scanning and compliance
  • Image retention and cleanup
  • Registry access control
  • Multi-region deployments
  • Image signing and verification
  • Cost optimization

Quick Start

Minimal working example:

# ecr-setup.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: ecr-management
  namespace: operations
data:
  setup-ecr.sh: |
    #!/bin/bash
    set -euo pipefail

    REGISTRY_NAME="myapp"
    REGION="us-east-1"
    ACCOUNT_ID="123456789012"

    echo "Setting up ECR repository..."

    # Create ECR repository
    aws ecr create-repository \
      --repository-name "$REGISTRY_NAME" \
      --region "$REGION" \
      --encryption-configuration encryptionType=KMS,kmsKey=arn:aws:kms:$REGION:$ACCOUNT_ID:key/12345678-1234-1234-1234-123456789012 \
      --image-tag-mutability IMMUTABLE \
      --image-scanning-configuration scanOnPush=true || true

// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Guide Contents
AWS ECR Setup and Management AWS ECR Setup and Management
Container Image Build and Push Container Image Build and Push
Image Signing with Notary Image Signing with Notary
Registry Access Control Registry Access Control
Registry Monitoring Registry Monitoring

Best Practices

✅ DO

  • Scan images before deployment
  • Use image tag immutability
  • Implement retention policies
  • Control registry access with IAM
  • Sign images for verification
  • Replicate across regions
  • Monitor registry storage
  • Use private registries

❌ DON'T

  • Push to public registries
  • Use latest tag in production
  • Allow anonymous pulls
  • Store secrets in images
  • Keep old images indefinitely
  • Push without scanning
  • Use default credentials
  • Share registry credentials

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.633 reviews
  • Noor Sharma· Dec 20, 2024

    container-registry-management is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Anaya Bhatia· Dec 20, 2024

    Keeps context tight: container-registry-management is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Shikha Mishra· Dec 16, 2024

    Solid pick for teams standardizing on skills: container-registry-management is focused, and the summary matches what you get after install.

  • Sakshi Patil· Nov 15, 2024

    I recommend container-registry-management for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Anaya Wang· Nov 11, 2024

    container-registry-management reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Advait Zhang· Nov 11, 2024

    Registry listing for container-registry-management matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Yash Thakker· Nov 7, 2024

    We added container-registry-management from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Dhruvi Jain· Oct 26, 2024

    container-registry-management fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Chaitanya Patil· Oct 6, 2024

    Useful defaults in container-registry-management — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Jin Kapoor· Oct 2, 2024

    Registry listing for container-registry-management matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 33

1 / 4