Harbor Registry
Harbor is the self-hosted container image registry at https://harbor.ayinza.dev. All SSERIS Docker images are stored here.
Access
Section titled “Access”| Property | Value |
|---|---|
| URL | https://harbor.ayinza.dev |
| Login | Admin credentials (see stack YAML) |
| CLI login | docker login harbor.ayinza.dev |
Projects
Section titled “Projects”Images are organized into projects in Harbor. The main project is library.
# Pull an imagedocker pull harbor.ayinza.dev/library/sseris-admin:latest
# Push an imagedocker tag myimage:latest harbor.ayinza.dev/library/myimage:latestdocker push harbor.ayinza.dev/library/myimage:latestStorage
Section titled “Storage”Harbor stores images on Contabo at /data/. The total /data/ directory is 35 GB, with /data/registry accounting for nearly all of it (35 GB).
# Check Harbor disk usagedu -sh /data/registrydu -sh /data/databasedu -sh /data/Garbage Collection
Section titled “Garbage Collection”Over time, deleted tags still consume disk space. Run garbage collection to reclaim:
- Log into Harbor UI → Administration → Garbage Collection
- Click GC Now (or schedule periodic GC)
- Monitor the GC job in Job Service Dashboard
This will free up space from deleted/untagged images.
Harbor Architecture
Section titled “Harbor Architecture”Harbor runs as 9 separate Docker services (see Shared Services):
- Portal — web UI
- Core — API and authentication
- Registry — actual image storage (Docker Distribution)
- DB — PostgreSQL for Harbor metadata
- Redis — caching
- Job Service — async operations (GC, replication)
- Proxy — internal Nginx
- Registry Ctl — registry management
- Log — centralized logging
Troubleshooting
Section titled “Troubleshooting”Can’t Push Images
Section titled “Can’t Push Images”- Verify you’re logged in:
docker login harbor.ayinza.dev - Check Harbor is healthy: visit the URL
- Check disk space on Contabo:
df -h - Check Harbor logs:
docker service logs shared_core
Disk Full
Section titled “Disk Full”- Run garbage collection in Harbor UI
- Delete old/unused image tags
- Check
/data/registrysize:du -sh /data/registry