Container Registry (Docker / OCI)¶
Push and pull container images with the standard Docker CLI — no plugin, no custom
client. An image you import goes through the same antivirus and CVE pipeline as
your other package formats before it is published. An image you push with
docker push is stored as it is, with no check at the moment of the push.
Prerequisites¶
- The Repod repository server is running and accessible from the client machine
- Your account has the
uploader,maintainer, oradminrole to push; any signed-in account can pull. Deleting a tag or an image needsmaintaineroradmin - The
oci_registrylicence feature (Business and Enterprise tiers). Without it,docker loginis refused with a403, so nothing can be pushed or pulled - Room left in the package quota of your licence: when it is reached,
docker pushis refused, whiledocker loginanddocker pullkeep working - For anything beyond local testing: TLS configured (
docker-compose.tls.yml) — the Docker CLI refuses to talk to a plain-HTTP registry by default
Step 1 — Log in¶
Use your normal Repod account password, or an API token (repod_...) for CI/CD —
the same credentials as every other authenticated endpoint. Repod issues a
short-lived signed bearer token behind the scenes, using the standard OCI
Distribution Bearer Token protocol (the same one Docker Hub and GHCR use) — the
Docker CLI handles this negotiation automatically, nothing to configure.
SaaS accounts — prefix your username with your organization
On Repod SaaS, the container registry is a single shared address for every
organization (there's no per-organization subdomain for docker login the
way there is for the rest of the app) — so the organization has to travel
in the username instead:
+, not : — HTTP Basic Auth itself uses : to separate the
username from the password, so a : inside the username would be
swallowed into the password instead of reaching Repod. Your images then
live under your organization's own namespace — see the push step below.
This only applies to SaaS; on-premise/CE deployments use a plain
username as shown above.
Local / dev testing without TLS
If you haven't set up TLS yet, add your host to Docker's insecure-registries list rather than fighting the client's HTTPS requirement:
Restart the Docker daemon after editing this file. Use a real TLS certificate before pushing anything you care about — see Reverse proxy.Step 2 — Push an image¶
The repository (my-app above) is created automatically on the first successful
push — no pre-registration needed, the same dynamic-repository model used by
Maven, PyPI, and npm.
SaaS accounts — prefix the image name with your organization
docker tag my-app:1.0.0 YOUR_HOST:5443/YOUR_ORG_SLUG/my-app:1.0.0
docker push YOUR_HOST:5443/YOUR_ORG_SLUG/my-app:1.0.0
docker push ghcr.io/your-org/my-app).
Repod does not scan an image at the moment of the push: it is stored as it is, and it is available to anyone who can pull. To check what was pushed, use Scanner maintenant on the Registre d'images page (or the scheduled re-scan), which runs the antivirus and the vulnerability scanner on every image already in the registry and only reports. To have the full checks before an image is available, import it instead (next section). See Manage your container image registry and Security Pipeline.
Step 3 — Pull an image¶
Pulling requires a login (docker login, step 1) with any account: the registry
refuses anonymous pulls. If a repository has been restricted (see below), only the
roles and groups it lists can pull it.
Importing a public image¶
You don't have to build locally to get an image into Repod. From the web UI (Conteneurs → Registre d'images, tabs Importer depuis Docker Hub, Import manuel or Import fichier .tar) or the API, point Repod at a public Docker Hub image and a tag — it downloads the image, runs it through the same antivirus + CVE pipeline, and publishes it (or queues it for review) without ever touching your local Docker daemon.
Access control¶
By default, any repository name is open to push for uploader/maintainer/admin
accounts, and open to pull for any signed-in user. To restrict a specific repository to
certain roles or groups, use the Accès tab of the repository in Registre d'images
or the repository access endpoint, /api/v1/oci/repositories/{name}/access (admin only) — the
same model used across every format in Repod: no rows means open, admin
always bypasses, and a denial on read returns 404 rather than 403 so a
restricted repository's existence isn't leaked to someone without access.