#Container Registries
Store and distribute container images.
#Public Registries
| Registry | URL |
|---|---|
| Docker Hub | hub.docker.com |
| GitHub Container | ghcr.io |
| Quay.io | quay.io |
#Cloud Registries
| Cloud | Service |
|---|---|
| AWS | ECR |
| Azure | ACR |
| GCP | GCR / Artifact Registry |
#Usage
bash
1# Login
2docker login registry.example.com
3
4# Tag
5docker tag myapp:latest registry.example.com/myapp:v1.0.0
6
7# Push
8docker push registry.example.com/myapp:v1.0.0
9
10# Pull
11docker pull registry.example.com/myapp:v1.0.0#Security
bash
# Scan for vulnerabilities
docker scan myapp:latest
trivy image myapp:latest[!TIP] Pro Tip: Use image scanning in your CI/CD pipeline!