Managed Harbor hosting
Pilae installs, patches, backs up and monitors Harbor for you, on your own servers or in any of 10+ Pilae Cloud regions, six of them in Switzerland and the EU.
From CHF 449EUR 479USD 559 a month on Starter, hosting and onboarding included.
- Engineering and security
- Open source
- Replaces Docker Hub
- Runs on
- Your own hardware, or a Pilae Cloud region
- Replaces
- Docker Hub, Amazon ECR, Azure Container Registry
- Licence
- Apache-2.0
Harbor among the engineering and security apps
Source code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.
Harbor system requirements
Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.
All 5 requirements, and why each is there
- CPU and memory4 vCPU · 8 GBThe upstream recommendation; the minimum is 2 vCPU and 4 GB. Trivy scans on the same machine, and a burst of pushes after a release is what uses the headroom.
- DatabasePostgreSQLThe only database Harbor supports, holding projects, tags, policies and scan results. We run our own rather than the container Harbor bundles.
- Cache and job queueRedis or ValkeyQueues replication, scans and garbage collection, and holds sessions. Harbor does not support Redis Cluster, so it is one instance, or Sentinel for failover.
- Image storageS3-compatible bucket or diskLayers are content-addressed and shared between tags. Deleting a tag frees nothing; the space comes back only when garbage collection runs.
- DNS and TLS1 hostname · trusted certificateDocker and containerd refuse a registry whose certificate they do not trust, so every build agent and cluster node trusts the issuer. Harbor answers on the private network, and the gate on port 443 publishes it only if you choose to.
Running Harbor in production: what it takes
Deploy on PostgreSQL and a bucket
A version we have run, installed with Trivy, on its own PostgreSQL and an S3-compatible bucket or local disk for the layers. The bundled database container is left out, so its major upgrades never arrive unannounced inside a Harbor release.
Choose sign-on before the first user
Harbor locks itself into local accounts as soon as any account other than admin exists, so OIDC through Keycloak or your own IdP, such as Microsoft Entra ID, is set on the first day, before anyone else signs in.
Scan images and reclaim space
Trivy scans on push, and a project can refuse pulls of images at or above the severity you choose. Retention rules delete old tags, and garbage collection, run outside the backup window, gives the space back.
Back up the database, the bucket and the key
Daily, encrypted, to an offsite location in the country your contract names, as one set. On Enterprise, once a month we restore all three into a scratch environment and pull an image from it.
Upgrade with a snapshot, not a downgrade
Harbor does not support downgrades, so the snapshot taken before an upgrade is the way back. Every upgrade is rehearsed on a copy and approved by you before the Pilae Agent applies it in your window and records it in the console.
From our runbook
What a Harbor restore needs
s3://acme-harbor-registrylayers and manifests, 1.8 TB
- docker/registry/v2/blobscontent-addressed, never rewritten
- docker/registry/v2/repositoriestag links per repository
postgres/registryHarbor database, 4 GB
- project, artifact, tag, blobwhat each tag points to
- registry, oidc_usercredentials, encrypted
- retention_policy, quotarules and limits
- /data/secret/keys/secretkeydecrypts the credentials above
- harbor.ymlin your repository, generates the compose file
- redisnot backed up: sessions and job queue
- trivy-adapter/trivynot backed up: scanner database, fetched again
- s3://acme-backupsoffsite, daily, encrypted
Migrating from Docker Hub to Harbor
Your own images come across with Harbor's pull replication: a Docker Hub endpoint, a rule filtered by repository and tag, and a schedule that keeps copying until the day you switch. Teams and access tokens do not come across: teams are rebuilt from your directory groups, and tokens are replaced by robot accounts. Harbor does not build images, and Docker has deprecated its Automated Builds, so they move into your CI, and Trivy scans take the place of Docker Scout. Image references are the bulk of the work: every Dockerfile, pipeline, Helm values file and manifest that names docker.io changes to your registry's hostname. Public base images keep coming from Docker Hub, but through a proxy cache project, so each one is fetched when it changes rather than on every build.
- Migration guideHow to migrate from Docker Hub to HarborMove from Docker Hub to Harbor: list every image reference, replicate your repositories, proxy public images, replace teams and tokens, then cut over.
- ServiceSaaS migrationA fixed-scope migration off Google Workspace, Microsoft 365, Zapier, Airtable and ChatGPT to open-source apps, with a parallel run and a cutover plan.
Moving from Docker Hub to Harbor, step by step
- List every image reference: We search Dockerfiles, pipelines, Helm values, Kubernetes manifests and compose files for docker.io and for bare names such as nginx, which default to it. Each reference is either one of your repositories, which moves, or a public image, which goes through the proxy cache.
- Replicate your repositories: A pull replication rule per Docker Hub namespace copies images and tags on a schedule, filtered to what is still in use. The rule signs in with a Docker Hub account that can read your private repositories, and where that account has a pull limit, a large estate is spread over several runs.
- Replace teams and tokens: Docker Hub teams become Harbor project members from your directory groups. Access tokens in pipelines become robot accounts limited to one project, with an expiry date and a secret shown once.
- Repoint, then freeze Docker Hub: Pipelines push to Harbor and deployments pull from it. A last replication run picks up anything pushed on the day, and the Docker Hub repositories stay untouched until a full release cycle has shipped from Harbor.
What Harbor is, and who runs it
A private container registry that scans and replicates your images and caches Docker Hub, run in Switzerland, the EU or your own datacentre.
Self-hosted Harbor as a private container registry
Harbor is a container registry. It extends the open-source Distribution registry with what an organisation needs around it: projects with role-based access, vulnerability scanning with Trivy, signatures from Cosign or Notation, replication between registries, quotas and retention rules. Helm charts, signatures and SBOMs are stored beside the images as OCI artifacts.
It is for teams that build their own software and want the registry next to where it is built and run: a platform team leaving Docker Hub, Amazon ECR or Azure Container Registry, or one that pulls every base image through a proxy cache so its builds depend less on someone else’s rate limit. It usually sits beside GitLab or Forgejo, which hold the code and run the pipelines that push to it. Both have registries of their own; Harbor earns its place when you want one registry for every forge and cluster, with scanning, a proxy cache and replication between sites. It runs on dedicated machines close to your pipelines, on your hardware or in one of 10+ Pilae Cloud regions, six of them in Switzerland and the EU, and answers only on your private network.
Read the full briefFold the brief
Harbor in production: scanning, garbage collection and upgrades
Trivy scans every image on push and again on a schedule. Its vulnerability database is republished several times a day and fetched from the internet; in an air-gapped site it arrives as an offline bundle instead. Garbage collection is the only job that deletes layers from storage, and it never runs during the backup. The database is copied first and the bucket after it, so every layer the database names is in the copy.
Probes read Harbor’s health endpoint every 60 seconds, and an alert reaches an engineer. The
PostgreSQL database, the bucket and the key in /data/secret are backed up
daily as one set, and on Enterprise restored as one set in a monthly test recorded in the console.
Upgrades go through the
Pilae Agent in two stages: harbor.yml is migrated with the upstream prepare
tool, then the database schema migrates when the new version first starts.
Harbor licence and editions
Harbor is Apache-2.0 and a graduated project of the Cloud Native Computing Foundation. There is no paid edition, no enterprise-only code and no fee per user or per image, so every feature on this page is in the release we deploy. That includes sign-on: OIDC covers Keycloak and Microsoft Entra ID, and LDAP covers a directory without OIDC. Our operation follows the published plans. Talk to us about the images you want off Docker Hub.
What Pilae is responsible for
The same commitments on every app we run, Harbor included, and what stays yours. How the platform does it.
Ours
- A pinned version: A version we have run, not whatever latest resolves to that day.
- A runbook: What it depends on, how it fails, what to do about it. In your repository.
- Daily backups: Encrypted and offsite, and on Enterprise restored every month. A backup nobody has restored is a file.
- A patch window: Security updates in a window you agreed, with a rollback ready.
- Someone watching: Every endpoint probed on the minute. An alert reaches a person, not a dashboard nobody opens.
Yours
- The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
- The approval: We ask before anything changes outside an agreed window.
- The exit: The machine, the data, the compose files and the runbook are already yours. Nothing stops when our access does.
Who runs it
Engineers who answer for it
Our engineers review every plan the Pilae Agent prepares and answer for the result.
Your data stays where the contract says
On your own servers or in Pilae Cloud. On Business and Enterprise you choose the region, and your contract names each location.
A Swiss company, a Swiss contract
Pilae is a Swiss company, and your contract with it is governed by Swiss law.
Harbor runs on Starter from CHF 449EUR 479USD 559 a month in Pilae Cloud, or on Business with up to three apps on your own servers.
Compare the plansHarbor: common questions
Is Harbor open source?
What does Docker Hub do that Harbor does not?
Can Harbor run in an air-gapped site?
How do people and pipelines sign in?
Where do our images live?
Ask the engineers who would run your Harbor
Thirty minutes on the deployment you already have, or the one you are about to start.
- Go deeperAir-gapped deployment of open-source apps, operatedOpen-source and source-available apps on disconnected sites, with signed releases, a local agent model and the console inside your perimeter.
- CompareSelf-hosting vs managed open source: doing it yourself, or PilaeSelf-hosting gives you the apps and the whole job of running them. Pilae gives you the same open-source apps, operated under a contract, on your premises or in Pilae Cloud.
- CheckSecurity for self-hosted open-source apps, run by PilaePrivate networking, hardened machines, named access, tracked advisories and a full audit log, built to ISO 27001 controls.
