Tooluck logoTooluck
SKILL.md

container-registries

Agent skill fromBagelHole/DevOps-Security-Agent-Skills

Manage container registries including ECR, ACR, GCR, and Docker Hub. Push and pull images, configure authentication, set up repository policies, and implement image lifecycle management. Use when working with container image storage and distribution.

How to install container-registries

install container-registries
# install the DevOps-Security-Agent-Skills pack with the skills CLI
npx skills add BagelHole/DevOps-Security-Agent-Skills

# or add only this skill to Claude Code: copy the folder

devops/containers/container-registries/

# into

~/.claude/skills/container-registries/ (all projects)

.claude/skills/container-registries/ (one project)

devops/containers/container-registries/SKILL.md

MITFull file
1# Container Registries
2
3Store, manage, and distribute container images across cloud and self-hosted registries.
4
5## When to Use This Skill
6
7Use this skill when:
8- Pushing and pulling container images
9- Configuring registry authentication
10- Setting up image retention policies
11- Managing private container registries
12- Implementing image scanning and security
13
14## Prerequisites
15
16- Docker or Podman installed
17- Cloud CLI tools (AWS CLI, az, gcloud) for respective registries
18- Appropriate IAM permissions
19
20## Docker Hub
21
22### Authentication
23
24```bash
25# Login
26docker login
27
28# Login with token
29echo "$DOCKER_TOKEN" | docker login -u username --password-stdin
30```
31
32### Push/Pull Images
33
34```bash
35# Tag image
36docker tag myapp:latest username/myapp:latest
37
38# Push
39docker push username/myapp:latest
40
41# Pull
42docker pull username/myapp:latest
43```
44
45### Automated Builds
46
47Configure in Docker Hub UI:
481. Connect GitHub/Bitbucket repository
492. Set build rules (branch → tag mapping)
503. Configure build context and Dockerfile path
51
52## Amazon ECR
53
54### Setup
55
56```bash
57# Create repository
58aws ecr create-repository \
59 --repository-name myapp \
60 --image-scanning-configuration scanOnPush=true \
61 --encryption-configuration encryptionType=AES256
62
63# Get registry URI
64REGISTRY=$(aws ecr describe-repositories \
65 --repository-names myapp \
66 --query 'repositories[0].repositoryUri' \
67 --output text | cut -d'/' -f1)
68```
69
70### Authentication
71
72```bash
73# Login (Docker)
74aws ecr get-login-password --region us-east-1 | \
75…

Excerpt shown under the repository's MIT license.

More skills in DevOps-Security-Agent-Skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates