Skip to content

Manage your container image registry

What you'll learn:

  • How the Registre d'images page is organised, and how to read a repository and its tags
  • How to restrict who can use a repository, and how to clean up old tags automatically
  • How to bring a public image in through the same checks as every other package, and how to read the result
  • The three other ways in: a reference on another registry, a .tar file, and a watch list

Time: ~20 minutes
Prerequisites: A maintainer or administrator account. To push an image from your own machine with docker, see Push your first container image.


What this page is for

Repod includes a private container image registry. Your build machines push to it and your servers pull from it with the normal docker commands. Those transfers go directly to the registry, not through this page. The page is where you look after what is stored: who can use it, what to keep, and how to bring in an image from outside with the security checks.

Two kinds of images end up here, and the page treats them differently:

  • an image you push with docker push is stored as it is, with no check at the moment of the push;
  • an image you import from a public registry goes through the full checks (antivirus, vulnerabilities, policy) before it is published.

Step 1 — Look at a repository

Open Conteneurs → Registre d'images.

The page: the five tabs, the list of repositories, and the tags of the selected repository with their size, date and digest

Figure 1 — The tabs of the page (1), the repositories (2), the tags of the selected repository (3), the tabs of a repository (4) and the delete button (5).

  1. The five tabs (1) are Repositories (what you see here), the three ways to import, and Mirroir.
  2. Click a repository in the list (2). A repository is a folder of images with the same name, such as nginx or team/app. It is created by the first push or import; there is no "create" button.
  3. The Tags tab (3) lists the versions of the image: the tag, the size, the creation date and the digest. The digest is the fingerprint of the exact content: two tags with the same digest are the same image.
  4. A tag can be deleted one by one, or in a group with the checkboxes. Supprimer le repository (5) removes all its tags and its records in Repod. The name can stay listed as an empty repository, because the registry keeps empty names in its catalogue. Deletion is final and needs the matching permission.

A tag can move, a digest cannot

latest can point to a different image tomorrow. When you need to be sure which content runs, use the digest in your deployments.

The blue Scanner maintenant button at the top re-scans every image already in the registry, including the ones pushed with docker push, through the antivirus and the vulnerability scanner. It never deletes or republishes anything by itself: it only reports. It keeps running if you leave the page, and you are notified at the end.


Step 2 — Decide who can use a repository

Open the Accès tab of a repository (administrators only).

The Access tab: the role or group choice, the name field, the Authorize button and the message saying the repository is open

Figure 2 — The type (1), the name (2), the Authorize button (3) and the current state (4).

By default a repository has no restriction: any signed-in user can use it, as the message (4) says. As soon as you add a rule, only the roles and groups listed can reach it.

  1. Choose whether the rule applies to a role or a group (1).
  2. Type its name (2), for example maintainer, then click Autorizer (3).

Administrators always keep access. A repository that a user cannot reach is hidden from them, not shown as forbidden.


Step 3 — Get the commands to connect

Open the Connexion tab.

The Connection tab: the docker login, tag, push and pull commands already filled with the repository name, and the note about the address and the API token

Figure 3 — The commands (1), the Copier button (2) and the note on the address and the token (3).

The block (1) gives the four commands, already filled with the address of your registry and the name of the repository: docker login, docker tag, docker push, docker pull. Click Copier (2) to copy them.

Read the note (3):

  • For a CI pipeline, use an API token (repod_…) as the password, not a personal password.
  • The address is deduced from this deployment's configuration. Here it ends with :5000, the plain port used on a test setup. On a production setup behind TLS, the registry is on a dedicated TLS port (:5443 by default): adjust the address if yours differs. See Push your first container image for the login steps.

Step 4 — Clean up old tags automatically

Open the Rétention tab (administrators only).

The Retention tab: the two fields, keep the last N and maximum age in days, and the Save button

Figure 4 — Keep the last N tags (1), the maximum age in days (2) and Save (3).

A registry that is pushed to by a pipeline fills up. A retention rule removes the oldest tags of one repository:

  • Garder les N derniers (1): the number of most recent tags to always keep.
  • Âge max (jours) (2): the age from which a tag can be removed.

The rule is deliberately cautious: a tag is removed only if it fails every active criterion, so with both set, a tag must be outside the last N and older than the limit. A tag whose creation date is unknown is never removed.

After you save, a preview button appears. It lists the tags that would be removed without removing anything, and only a second button, with a confirmation, deletes them. Read the preview before the first real run. The rule is applied each night by a scheduled job that is off by default (see Schedule the recurring scans and mirrors).


Step 5 — Import a public image

Open Importer depuis Docker Hub and search a name. Here we search alpine.

The Docker Hub import tab: the search results, the version choice, the target repository, the Import button and the result of the checks

Figure 5 — The results (1), the version (2), the target repository (3), the Import button (4) and the result of the checks (5).

  1. Type a name and press Enter. The results (1) come live from Docker Hub. Look for the Officielle badge: it marks the image published by the project itself. A lookalike under another account is a common way to get unwanted code, so check the name before you click.
  2. Choose the version (2). The list is sorted by update date, and each entry shows its size and the number of platforms.
  3. Choose the target repository (3): an existing one to add a version, or a new name to create it.
  4. Click Importer (4). The download and the checks take one to a few minutes, and the page asks you to stay on it until the result appears.

The result (5) lists what happened, step by step. Here the image is imported and published: the antivirus scanned the three layers of the image and found no threat, and the vulnerability scanner found three Medium vulnerabilities in the system tools of the image, which the policy only reports as warnings. With the policy shown, Critical and High send the image to review and Medium only warns.

The possible outcomes are:

Outcome Meaning
Importée et publiée Checks passed, the image is in the registry
En attente de révision RSSI A vulnerability matched the review policy: the image is not published until someone decides in Décisions CVE
Bloquée Refused by the antivirus or by the vulnerability policy
Bloquée (filtre de contenu) Refused by a content rule of the repository
Quota de paquets atteint The licence limit is reached (see Read your licence, quotas and usage report)
Déjà en quarantaine This image is already isolated

The image is pinned to its digest at the start. The decision of a reviewer therefore applies to those exact bytes, even if the tag changes on Docker Hub in the meantime.


Step 6 — The other ways in

Import manuel is for an image that is not on Docker Hub, or whose exact reference you already know.

The manual import tab: the image reference, the tag and the target repository

Figure 6 — The reference (1), the tag (2), the target repository (3) and the Import button (4).

Type the full reference (1), such as quay.io/prometheus/prometheus or ghcr.io/team/image, the tag (2) and the target repository (3), then click Importer (4). The same checks apply. It works only for a public registry that needs no sign-in: a private registry that asks for credentials is not supported yet.

Import fichier .tar is for an image you already have as a file: made with docker save, coming from a private registry this server cannot reach, or carried across from an offline network.

The tar import tab: the file chooser, the image name, the tag and the target repository

Figure 7 — The file (1), the image name (2), the tag (3), the target repository (4) and the Import button (5).

Choose the file (1), name the image (2), give the tag (3) and the target repository (4), then click Importer (5). One difference from an import by reference: an image that goes to review keeps a local copy of the file until the decision, since there is no remote source to download again.


Step 7 — Watch an image for changes

The Mirroir tab keeps an eye on images that you have already imported.

The mirror tab: the form to add an image, the tag and the target repository, and the empty list of watched images

Figure 8 — The form to add an image (1), the Add button (2) and the list of watched images (3).

A tag is mutable: the publisher can republish a different content under the same tag. An image that you imported stays frozen at the digest you checked. The watch list (1) records the image, the tag and the target repository; a scheduled job (see Schedule the recurring scans and mirrors; it is off by default) then checks whether the publisher has republished different content under that tag, and sends the new content through the full checks. An image that a person has already put in quarantine is never forced back in. Add an entry with Ajouter à la surveillance (2) and follow the list (3).


What this page does not do

  • It does not check an image at the moment of docker push. A pushed image is stored as it is; use Scanner maintenant or the scheduled re-scan to check what was pushed.
  • It cannot import from a private registry that needs a sign-in.
  • It is not a proxy of Docker Hub. An image is only available once someone has imported or pushed it.
  • A repository cannot be created empty. It appears with its first image.

What's next