Harbor
★ 29.8kAbout
Community Ratings
No ratings yetNew this week
Read recap →Features
- container image registry
- Helm chart registry
- role based access control
- policy based replication
- vulnerability scanning
- LDAP/AD authentication
- OIDC single sign-on
- image deletion and garbage collection
- graphical user portal
- RESTful API
Details
- Last Updated
- Nov 23, 2026
- Created
- Jan 28, 2016
- Install Methods
- docker-composehelmbinary
- Requirements
- Docker 20.10.10-ce+docker-compose 1.18.0+Kubernetes
- Authentication
- ldapoidc-sso
- API
- REST
- Runtime / Stack
- DockerK8S
- Privacy & Independence
- Cloud: Optional
- User Model
- Multi-User
- Deployment
Deployment: Docker Compose ✓3 Containers — light hosting footprintRuns as 3 containers
Run Harbor yourself
Pick how much you want to manage.
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
1 more way to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host.
Is this your project? Sponsor a listing
Run Harbor with Docker Compose
Compose file from the Harbor project repository.
3 services
no resource limits declared
needs persistent storage (5 volumes)
tests/docker-compose.test.yml · @ 3852755 · scanned Nov 3, 2026
version: '2'
services:
registry:
image: goharbor/registry-photon:__version__
restart: always
volumes:
- /data/registry:/storage
- ./common/config/registry/:/etc/registry/
- /etc/core/ca/ca.crt:/etc/registry/root.crt
ports:
- 5000:5000
command:
["serve", "/etc/registry/config.yml"]
postgres:
image: goharbor/harbor-db:__version__
restart: always
volumes:
- /data/database:/var/lib/postgresql/data:z
env_file:
- ./common/config/db/env
ports:
- 5432:5432
redis:
image: goharbor/valkey-photon:__version__
restart: always
volumes:
- /data/redis:/var/lib/redis
ports:
- 6379:6379
This file may be out of date. Check the Harbor documentation for current setup steps.
Tags
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.