Your container images stay with you.
Every environment gets its own private registry, inside your cluster. Your teams publish with docker, and a version only starts once it has been scanned.
What it replaces
- Today, without Hyperfluid
- A registry to install and maintain, or a public registry, plus credentials to hand out.
- Public cloud equivalent
- Amazon ECR, Azure Container Registry, Google Artifact Registry.
- With Hyperfluid
- One registry per environment, started in one click, which your applications pull from with no credential.
What it's for
-
Publish from CI
Your CI pushes every version with a service account, separate from people's.
-
Deploy with no credential
An application picks its image from the registry: the platform grants it access.
-
Keep an eye on flaws
Images in service are scanned again every 7 days by default, and a policy decides what a flaw triggers.
In the console
How you use it
- Start the environment's registry (
Compute › Registry › Start registry). - Create a project to group the images (
Projects › New project). - Open the CVE report of a version (
Tags › View CVEs). - Deploy an application from the registry (
Containers › New application › Managed registry).
# Log in with your email address and your passworddocker login <address>docker build -t orders-api:1.4.2 .docker tag orders-api:1.4.2 <address>/<environment>/<project>/orders-api:1.4.2docker push <address>/<environment>/<project>/orders-api:1.4.2 The address is shown on the registry's overview. Create the project before the first push.
# The registry's address, readiness and storage usagehfctl registry get# The tags of an image, then the CVE report of a taghfctl registry images orders-api --project shophfctl registry scan shop/orders-api:1.4.2 --rescan --severity CRITICAL,HIGH Operations and limits
- Permissions
- registry:pull, push, manage and admin. The console grants them across the whole organization: a service account that pushes can push to the registry of every environment.
- Deletion
- Without external backup turned on, deleting an image is final.
- Admission
- Refusing unscanned versions is on by default. The operator can turn it off.
Not shipped yet
- Registry permissions limited to one environment or one project from the console.
- Image builds by the platform: your CI builds and pushes.
- Creating a project and deleting an image with hfctl.
- A Terraform resource for the registry and its projects.
Technical sheet and operating details (10)
- Client
- Docker or any OCI client
- Image path
- address / environment / project / image
- Flaws
- CVSS score, KEV catalog, EPSS probability
- Runners
- A Forgejo runner created in an environment that already has a registry automatically gets a service account that holds registry:push.
- Refusal at start
- A pushed image is scanned automatically. Until that scan succeeds, starting a container that uses it is refused, with a message that says so.
- Rescan
- The pace is set per organization. Images in service are also scanned again after an update of the vulnerability database, and on demand.
- Qualification
- Every flaw carries its CVSS score, whether it sits in the KEV catalog and its EPSS probability. Both feeds are read again every 6 hours. Without Internet access, they point to an internal mirror.
- Policies
- A CVE policy triggers an alert, a blocked deployment, a network cut or a stopped workload, in audit or in enforcement.
- Tags
- A node keeps the image of a tag it has already pulled: publish a new tag with every build. Only floating tags (latest, 1, 1.4) are pulled again on every start.
- Cleanup
- Deleting an image requires registry:admin. Garbage collection frees the space every day at 03:00 UTC or on demand. With external backup on, a deletion waits for the backup: a deleted image is only erased once it has been copied.
See an image scanned before it is deployed.
What you will see in the demo
An image pushed with docker, its CVE report, then its deployment.