#Container Registries

Store and distribute container images.


#Public Registries

RegistryURL
Docker Hubhub.docker.com
GitHub Containerghcr.io
Quay.ioquay.io

#Cloud Registries

CloudService
AWSECR
AzureACR
GCPGCR / 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!