Container Registry Management

Container Registry Management

Guides an AI agent to run container registries such as Docker Hub and ECR with image scanning, retention policies, signing, access control and monitoring.

Skill files8 files

references/

scripts/

templates/

SKILL.md100 lines
1
---
2
name: container-registry-management
3
description: >
4
Manage container registries (Docker Hub, ECR, GCR) with image scanning,
5
retention policies, and access control.
6
---
7
8
# Container Registry Management
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Implement comprehensive container registry management including image scanning, vulnerability detection, retention policies, access control, and multi-region replication.
21
22
## When to Use
23
24
- Container image storage and distribution
25
- Security scanning and compliance
26
- Image retention and cleanup
27
- Registry access control
28
- Multi-region deployments
29
- Image signing and verification
30
- Cost optimization
31
32
## Quick Start
33
34
Minimal working example:
35
36
```yaml
37
# ecr-setup.yaml
38
apiVersion: v1
39
kind: ConfigMap
40
metadata:
41
name: ecr-management
42
namespace: operations
43
data:
44
setup-ecr.sh: |
45
#!/bin/bash
46
set -euo pipefail
47
48
REGISTRY_NAME="myapp"
49
REGION="us-east-1"
50
ACCOUNT_ID="123456789012"
51
52
echo "Setting up ECR repository..."
53
54
# Create ECR repository
55
aws ecr create-repository \
56
--repository-name "$REGISTRY_NAME" \
57
--region "$REGION" \
58
--encryption-configuration encryptionType=KMS,kmsKey=arn:aws:kms:$REGION:$ACCOUNT_ID:key/12345678-1234-1234-1234-123456789012 \
59
--image-tag-mutability IMMUTABLE \
60
--image-scanning-configuration scanOnPush=true || true
61
62
// ... (see reference guides for full implementation)
63
```
64
65
## Reference Guides
66
67
Detailed implementations in the `references/` directory:
68
69
| Guide | Contents |
70
|---|---|
71
| [AWS ECR Setup and Management](references/aws-ecr-setup-and-management.md) | AWS ECR Setup and Management |
72
| [Container Image Build and Push](references/container-image-build-and-push.md) | Container Image Build and Push |
73
| [Image Signing with Notary](references/image-signing-with-notary.md) | Image Signing with Notary |
74
| [Registry Access Control](references/registry-access-control.md) | Registry Access Control |
75
| [Registry Monitoring](references/registry-monitoring.md) | Registry Monitoring |
76
77
## Best Practices
78
79
### ✅ DO
80
81
- Scan images before deployment
82
- Use image tag immutability
83
- Implement retention policies
84
- Control registry access with IAM
85
- Sign images for verification
86
- Replicate across regions
87
- Monitor registry storage
88
- Use private registries
89
90
### ❌ DON'T
91
92
- Push to public registries
93
- Use `latest` tag in production
94
- Allow anonymous pulls
95
- Store secrets in images
96
- Keep old images indefinitely
97
- Push without scanning
98
- Use default credentials
99
- Share registry credentials
100

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…