Introducing a new way to review your PRs.

Read the announcement

getarcaneapp / arcane

Modern Docker Management, Designed for Everyone

View on GitHub

26 documents · Updated Oct 19, 2026

docs / image-and-registry-management

Images, registries, and image updates

Arcane gives an operator one view of the images used by a Docker environment and the registries that supply them. It connects local image storage with application images so an engineer can inspect image use, supply image content, manage image sources, find newer content, and apply image or package updates.

Product model

Images link four product concerns: local Docker storage, remote image sources, application workloads, and image security. Arcane uses this link to show what is available, where an image is used, whether its source changed, and which action can resolve the change.

The main product relationship is:

flowchart LR
    A[Docker environment] --> B[Image inventory]
    C[Configured registries] --> D[Remote image content]
    E[Application image references] --> F[Update results]
    B --> F
    D --> F
    G[Vulnerability findings] --> H[Patch results]
    B --> H
    F --> I[Pull or redeploy]
    H --> J[Patched image]

Image inventory

The image inventory is the operator's starting point for local image work. It combines image identity, tags, digests, size, creation time, use state, update state, and vulnerability state so an operator can judge storage cost and workload impact before taking action. It supports search, sorting, paging, and filters for images in use or with selected update states. backend/…/handler.go• L142-177 backend/…/service.go• L939-1006 types/…/image.go• L16-29

An image can link to running containers and managed projects. Digest-pinned references are shown when a container uses a reference that names fixed image content but does not provide a normal repository tag. This keeps the inventory useful for images deployed by digest. backend/…/service.go• L1107-1147 backend/…/service.go• L1177-1217 types/…/image.go• L115-187

Update information can belong to the local image, to a container's image policy, or to an image reference that is not local. Digest policies use the runtime image identity. Tag policies use the container and its exact policy key. Containers that opt out of update checks are omitted from monitoring, while disabling automatic installation does not hide their results. backend/…/service.go• L778-852 backend/…/service.go• L1316-1327 backend/…/service.go• L1763-1815

References: backend/…/handler.go• L142-177 backend/…/service.go• L778-852 backend/…/service.go• L939-1006 backend/…/service.go• L1107-1147 backend/…/service.go• L1177-1217 backend/…/service.go• L1219-1387 backend/…/service.go• L1316-1327 types/…/image.go• L16-29 types/…/image.go• L115-187

Image detail

The image detail view explains what an image can run and how it was made. It presents core metadata, tags and digests, platform data, environment values, layer history, build attestations, pinned workload references, and vulnerability scan state. It gives an operator actions for tagging, exporting, scanning when vulnerability management is enabled, patching registry-backed images, and removing the image. backend/…/handler.go• L179-237 backend/…/handler.go• L260-307 backend/…/service.go• L229-295 types/…/image.go• L312-420

Build attestations are statements attached to an image or registry reference. The detail path can select a platform or predicate type and can return the statement body when an operator needs evidence about image provenance. It reads statements from registry referrers and image indexes, accepts compressed OCI content, and removes duplicates. A local image must first resolve to a usable registry reference for this view. See Security and vulnerability management for the wider image security view. backend/…/service.go• L81-193 backend/…/service.go• L196-238 backend/…/service.go• L274-327 backend/…/service.go• L330-478

References: backend/…/handler.go• L179-237 backend/…/service.go• L229-295 backend/…/service.go• L81-193 backend/…/service.go• L196-238 backend/…/service.go• L274-327 backend/…/service.go• L330-478 types/…/image.go• L189-210

Image build workspace

The image build workspace turns application source into an image. An operator selects a local workspace or a remote Git source, chooses a local Docker builder or the optional Depot builder, sets image tags and build options, then watches live build output and the final result. backend/…/handler.go• L364-413

Local builds can load the result into the selected Docker environment or push it to a configured registry. A push build uses an enabled registry and one of that registry's configured repository names to form the image reference. The Depot provider always pushes. Build history records the source, provider, options, status, duration, output, digest, and result flags so a build can be reviewed later. backend/…/handler.go• L415-479 types/…/build_history.go• L9-47

References: backend/…/handler.go• L364-479 types/…/build_history.go• L9-55

Image patching

Image patching creates a new image tag with updated operating-system packages. An operator can patch a scanned image from a stored vulnerability report or run a broader package update, while Arcane records the run as background work with progress, status, errors, duration, and package counts. Patching requires the supported containerd image store and a tagged image with registry content. backend/…/service.go• L124-148 backend/…/service.go• L175-213 backend/…/service.go• L291-430

The patch can target the selected platform or all platforms according to the image patch setting. A successful run creates a separate patched reference, verifies that reference, and can start a vulnerability scan when that feature is enabled. Completed patch outputs are treated as local image content for update checks and are not compared with a remote source as if they were ordinary registry images. backend/…/service.go• L218-229 backend/…/service.go• L425-446 backend/…/service.go• L179-214

Patch targets show images with fixable findings and the latest patch result. Patched outputs are folded into the original image's row rather than offered as new patch targets. Scheduled patch work processes eligible images one at a time so the operator can review each result. An interrupted run is recorded as failed and must be started again rather than replayed automatically. backend/…/service.go• L150-173 backend/…/service.go• L653-783 backend/…/service.go• L854-893 backend/…/service.go• L118-220

References: backend/…/service.go• L124-213 backend/…/service.go• L218-229 backend/…/service.go• L291-446 backend/…/service.go• L653-783 backend/…/service.go• L854-910 backend/…/service.go• L118-227 backend/…/service.go• L179-214

Registry-backed image access

A container registry is a named source of image content and, when needed, credentials. Arcane supports generic registries and Amazon ECR. An operator can add, edit, test, enable, disable, sync, and remove registry entries. Registry entries can also define repository names for image publishing. See Registry and image update workflows for the registry integration and image-update workflows. backend/…/handler.go• L62-215 backend/…/service.go• L231-294 backend/…/service.go• L297-405

Registry settings serve image pulls, remote digest checks, tag checks, attestations, and image pushes. Arcane matches an image reference to a normalized registry host. Request-scoped credentials replace saved credentials when supplied. A failed credentialed lookup can retry anonymously when the registry permits it, but Docker Hub and rate-limited requests do not use that anonymous retry. Digest lookup can use the Docker environment first and a direct registry path when the Docker path cannot provide the result. Successful digest results are cached and rechecked in the background so repeated update checks do not need a fresh registry request each time. backend/…/service.go• L688-730 backend/…/service.go• L717-867 backend/…/service.go• L899-970

Registry changes can fan out to remote environments so managed environments can use the same image sources. Pull use and registry rate-limit data are also exposed when the provider supplies them. This helps an operator see when a registry may constrain update checks or image pulls. backend/…/handler.go• L93-160 backend/…/handler.go• L205-215 backend/…/service.go• L502-677

See Registry and image update workflows for the registry lookup, authentication, browsing, and update-check flow.

References: backend/…/handler.go• L62-215 backend/…/service.go• L231-294 backend/…/service.go• L297-405 backend/…/service.go• L439-500 backend/…/service.go• L502-677 backend/…/service.go• L717-970

Registry browsing

The registry view can browse repositories and repository tags. Tag results include manifest digest, media type, size, creation time, and platform images when the registry provides them. Manifest detail errors stay on the affected tag so one unreadable manifest does not hide the rest of the page. A tag delete removes the manifest at its digest, so other tags that share that digest are removed too. A registry URL with a path limits browsing to that namespace. backend/…/service.go• L59-131 backend/…/service.go• L134-213 types/…/image.go• L189-210

Browsing uses the configured registry credential and keeps repository and tag actions inside the configured namespace. It reports registry access failures as a browse error without turning an upstream registry denial into an Arcane permission result. backend/…/service.go• L173-238

References: backend/…/service.go• L59-131 backend/…/service.go• L134-213 backend/…/service.go• L216-268

Application image relationships

An application image is an image reference declared by a project service or observed on its container. Arcane relates that reference to local image data and stores update information by image identity or by reference when no local image exists. This lets an operator move from an image result to the project or container that may be affected.

The relationship supports two views of the same change:

  • The image inventory shows containers and projects that use local content.
  • Application views show the image reference and the update result for each service.

Equivalent image reference spellings are grouped for update checks, while the original spelling remains available to the application view. When a stored result can match more than one repository form, Arcane uses the newest matching result. backend/…/service.go• L855-937 backend/…/service.go• L1014-1034

Build-defined images and completed locally patched images are treated as local application images. Arcane does not ask a remote registry to compare content that comes from a local build or a completed local image patch. This also applies when the local image has repository digests or when the local image is not present but its project build reference identifies it as local. Arcane-generated local image references use the same rule, while other registry hosts remain eligible for remote checks. backend/…/service.go• L179-214 backend/…/service.go• L412-419 backend/…/service.go• L1044-1067

Container update policies add a second relationship to the same image reference. A digest policy asks whether the current image content changed. A tag policy asks whether the container's configured tag rule points to newer content or a different tag. Arcane keeps the image result separate from each container result, then combines them for the operator. See Containers, environments, and workloads for the workload actions that use this relationship. backend/…/service.go• L798-852 backend/…/service.go• L341-411

References: backend/…/service.go• L798-937 backend/…/service.go• L179-214 backend/…/service.go• L412-419 backend/…/service.go• L1044-1067 backend/…/service.go• L1014-1034 backend/…/service.go• L341-411

Update lifecycle

Image update detection compares image content rather than only a version label. Arcane reads the local image snapshot and all available local image digests, then compares them with a remote registry digest when both are available. It stores the result with its check time, digest values, authentication path, and error state. It also checks container tag policies when a workload uses them. The stored result feeds the image and application views.

This diagram shows the main update path:

sequenceDiagram
    participant O as Operator or scheduler
    participant A as Arcane
    participant D as Docker environment
    participant R as Container registry
    participant W as Workload

    O->>A: Start image check
    A->>D: Read local image and policy
    A->>R: Read remote digest or tags
    R-->>A: Registry result
    A-->>O: Save update state
    O->>A: Pull or apply update
    A->>D: Pull new content
    A->>W: Restart or redeploy workload

Update signals

An operator can check one image, a group of image references, or all eligible images. Batch checks normalize equivalent references so one remote image is checked once while each original reference keeps its result. They resolve enabled registry credentials, limit registry work, enforce a scan deadline, report progress as an activity, and complete with counts for checked images and errors. All-image checks include local image tags and container references that are still in use even when the tag is no longer present locally. backend/…/service.go• L1255-1355 backend/…/service.go• L1473-1535

For containers, Arcane evaluates the update policy that applies to each image reference. It checks eligible containers in parallel, shares successful tag and digest lookups within a scan, and saves each completed result. A container that changes from tag tracking to digest tracking loses the old tag result so the inventory does not show two policies for one workload. Rate-limit failures remain scoped to the scan and do not replace a prior good result. backend/…/service.go• L40-181 backend/…/service.go• L184-265 backend/…/service.go• L805-846

Update checks produce states that have different meanings:

  • Up to date: local content matches the remote digest or the container policy finds no newer target.
  • Update available: a pull or policy action would fetch or select different content.
  • Local build: the image has no remote source to compare.
  • Not pulled: the remote reference exists, but local content is not available for comparison.
  • Error: the check did not complete.
  • Digest pinned: the reference already fixes its content, so no tag update is expected.

An update result can also trigger a notification. Arcane marks the result as notified only after at least one notification provider accepts it. If no provider accepts the event, the result stays pending for a later delivery attempt. backend/…/model.go• L12-40 backend/…/service.go• L976-1011 backend/…/service.go• L1561-1656

References: backend/…/service.go• L1255-1355 backend/…/service.go• L1473-1535 backend/…/service.go• L1561-1656 backend/…/service.go• L40-181 backend/…/service.go• L184-265 backend/…/service.go• L805-846 backend/…/model.go• L12-40

Update decisions

The update indicator is a decision aid. A digest change means that the image source has new content for the same reference. A local-build result means that the project or local patch process owns the image. A not-pulled result means that Arcane needs a local pull before it can compare or run the image.

Arcane compares the remote digest with every digest recorded for the local image. This avoids reporting a change when the remote content is already represented by another valid local repository reference. backend/…/service.go• L635-671 backend/…/service.go• L1119-1140

Digest-pinned references are treated as fixed content. They remain visible as checked image references but do not claim that a newer tag is available. Registry limits and transient failures do not replace a good result with a false update state. The same scan avoids repeating successful tag and digest requests for equivalent references. backend/…/service.go• L280-296 backend/…/service.go• L810-846 backend/…/service.go• L1014-1034 backend/…/service.go• L61-69

References: backend/…/service.go• L280-296 backend/…/service.go• L635-671 backend/…/service.go• L810-846 backend/…/service.go• L1014-1034 backend/…/service.go• L1119-1140 backend/…/service.go• L61-69

Update application

Arcane separates finding new image content from applying it. An operator can pull an image, update one container, run an updater for pending changes, or update projects that use changed images. Project-level work redeploys only the projects linked to images with available updates.

After a successful pull, Arcane records the pulled local digest as current. It clears reference-only stale results without marking containers that still run an older image as current. This keeps image status aligned with the workload that actually changed. backend/…/service.go• L454-496 backend/…/service.go• L855-958

The updater reports the resources it checked, changed, restarted, skipped, or could not update. The updates view shows each affected container's image reference, current value, latest value, and check time. An operator can update one container or selected containers, and can turn automatic installation off without removing update checks or notifications. Label-controlled or unavailable automatic-update status cannot be changed from this view. See Registry and image update workflows for the detailed check and apply flow.

References: backend/…/service.go• L454-496 backend/…/service.go• L855-958 backend/…/service.go• L1561-1656 backend/…/service.go• L255-319 backend/…/service.go• L403-454

Image and registry operations

The product surface supports the actions needed to supply images, review local storage, inspect remote content, keep image status current, and repair vulnerable packages. Each action remains scoped to the selected Docker environment and the permission for that action.

Image supply actions

Operators can pull an image by reference, search Docker Hub, pull a search result, load an image archive, export an image archive, add a tag, and build a new image. These paths end in the same image inventory, so an image brought in from a registry, file, or build can later be linked to workloads and checked for updates. Pulls and builds expose streamed progress through activities. Pulls use matching external or saved registry credentials and can retry anonymously after an authentication failure. backend/…/handler.go• L194-284 backend/…/handler.go• L309-413 backend/…/service.go• L365-438 backend/…/service.go• L574-670

The build flow adds a source-to-image path for application work. It can use a local workspace or remote Git context, select a build provider, stream output, load the result locally, or push it to a configured registry. backend/…/handler.go• L364-413

References: backend/…/handler.go• L194-284 backend/…/handler.go• L309-413 backend/…/service.go• L365-438 backend/…/service.go• L574-670 types/…/build_history.go• L9-47

Image storage actions

Operators can remove selected images or prune images by scope. Pruning can target dangling images, all unused images, or images older than a chosen time. The inventory also shows total image count and total size so an operator can judge storage pressure before cleanup. backend/…/handler.go• L481-517 backend/…/service.go• L732-775 types/…/image.go• L213-223

Removal and pruning clean related update and vulnerability records for content that is no longer local. This prevents later views from presenting stale status for a deleted image. backend/…/service.go• L297-363 backend/…/service.go• L732-775

Image archives use an upload session for loading and enforce the configured maximum image upload size. The older multipart form remains accepted only for backward compatibility. backend/…/handler.go• L543-570 backend/…/service.go• L619-670

References: backend/…/handler.go• L481-570 backend/…/service.go• L297-363 backend/…/service.go• L619-670 backend/…/service.go• L732-775 types/…/image.go• L213-223

Registry administration

Registry administration gives operators one place to maintain the sources used by pulls, update checks, browsing, attestations, and image pushes. Generic registries use a user and token. ECR uses AWS access data and a region. Credentials are protected when saved, and a registry can be tested without changing its saved entry. ECR validation also limits the endpoint to AWS private ECR hosts and requires TLS verification. backend/…/service.go• L231-294 backend/…/service.go• L680-715 backend/…/service.go• L1185-1197

Registry entries can be enabled or disabled and can retain repository names for build publishing. Registry type is fixed after creation. Create, update, and delete operations can synchronize registry changes to remote environments. backend/…/service.go• L297-413 backend/…/service.go• L1019-1104 backend/…/handler.go• L93-160

References: backend/…/handler.go• L93-215 backend/…/service.go• L231-413 backend/…/service.go• L680-715 backend/…/service.go• L1019-1104 backend/…/service.go• L1185-1197

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep image summary mapping aligned with pinned references, repository digests, workload links, update state, vulnerability state, and container policy results.
  • Keep registry host normalization consistent across saved registry entries, request-scoped credentials, image pulls, digest checks, tag listings, attestation reads, rate-limit usage, and pushed build references.
  • Keep registry type rules aligned across generic credentials, ECR credentials, ECR endpoint and TLS validation, browsing, synchronization, and the build registry selector.
  • Keep registry namespace rules aligned across registry URLs, repository browsing, tag deletion, and repository names allowed for image publishing.
  • Keep local-build and patched-image detection aligned with update checks so local content is not sent to a remote digest lookup. This includes project build references, local-only images, completed patched references, and Arcane-generated local references.
  • Keep batch update checks aligned with normalized reference grouping, credential resolution, registry concurrency limits, scan deadlines, activity progress, and terminal activity status.
  • Keep container tag and digest policy rules aligned with monitoring eligibility, registry lookup scope, stored policy keys, and stale-record cleanup.
  • Keep reference-only update records separate from real image-ID records when a pull changes the current image.
  • Keep digest-pinned references, not-pulled images, rate-limit errors, local builds, and tag-policy results distinct in stored results and image badges.
  • Keep notification state tied to actual provider delivery. A partial delivery marks the result notified, while no delivery leaves it pending.
  • Keep image deletion and prune cleanup aligned with update records, vulnerability records, and orphaned reference records.
  • Keep build repository allow lists aligned with registry changes so a selected registry cannot produce an invalid image reference.
  • Keep image upload limits and upload-session handling aligned between the image endpoint and the image load path.
  • Keep attestation reference resolution aligned with local image references, registry authentication, platform selection, predicate filtering, and compressed statement reading.
  • Keep image patch records aligned with vulnerability scan reports, patched output references, patch target exclusion, platform scope, verification scans, activity state, and interrupted-run handling.
  • Keep the containerd image-store requirement aligned across manual patching, scheduled patch discovery, and patch target display.
  • Keep build history fields aligned with the information needed to review a build result, including provider, digest, output, status, and load or push intent.
  • Keep registry browse results aligned with namespace limits, per-tag manifest details, and manifest-delete semantics when several tags share a digest.

Important failure modes

TriggerConsequenceGuard
A local build or completed local patch has no remote sourceArcane cannot compare it with a registry and reports a local-build stateKeep local build and patch output references distinct from registry-backed references
An image reference resolves remotely but is not present locallyThe check reports not pulled instead of claiming that an update is availablePull the image before relying on a local-versus-remote comparison
A reference is digest-pinnedA tag update check would give a misleading resultTreat the pinned digest as fixed content and skip the remote update claim
A local image has several repository digests and only one is comparedArcane can report an update even when the remote digest is already present locallyCompare the remote digest with all local image digests
A private registry credential is missing, disabled, or mapped to another hostPull or digest lookup fails, or a public lookup uses anonymous accessUse an enabled credential whose normalized host matches the image reference
Supplied registry credentials are rejected for a public imageA pull or non-Docker-Hub lookup can fail even though anonymous access worksRetry anonymously only for an authentication failure. Do not retry Docker Hub or rate-limited lookups anonymously
A registry rate limit interrupts a checkA transient error can hide a previously valid update statePreserve the last good result and retry after the registry window allows requests
A container changes from tag tracking to digest trackingAn old tag result can remain visible beside the new digest resultDelete stale container records when the policy key changes
No notification provider accepts an image updateThe update remains unnotified for a later delivery attemptMark records notified only when at least one provider delivers the event
A push build uses a repository that the selected registry does not allowBuild validation rejects the image reference before the pushSelect a repository name from the selected registry's configured names
A registry URL contains a namespace and a browse request leaves itThe registry operation is rejected instead of reaching another repository pathKeep repository browse and tag delete requests inside the configured namespace
A tag shares a manifest digest with another tagDeleting one tag also removes the other tagTreat tag deletion as manifest deletion and show the digest impact
A registry tag manifest cannot be readOne tag lacks detail, but the rest of the requested page remains visibleStore the manifest error on that tag instead of failing the whole page
An image patch is started without a usable tag, registry digest, or supported image storeThe patch cannot create or verify a patched imageRequire a tagged, registry-backed image and the supported Docker image store before patching
A patch run is interrupted after the external patch tool may have changed the tagA retry could patch the same source twice or produce an unclear recordFinish the interrupted record as failed and require a new patch attempt
A report-driven patch uses a missing or mismatched scanThe patch can target the wrong image or has no package findings to applyMatch the scan to the selected image and require its stored report
An attestation has compressed OCI content or no usable registry referenceProvenance cannot be read from the image detail viewResolve a registry reference and decode supported compressed statement content
An image is removed or pruned while status records remainOld update or scan state points to content that is no longer localRun image removal and prune through the product paths that clean related records

Key files

FileWhy to read it
backend/…/module.goShows how image inventory, update checks, attestations, patching, builds, activities, and uploads form one product module.
backend/…/handler.goShows the image product interface for inventory, image detail, archives, pulls, builds, pruning, and uploads.
backend/…/service.goShows the product view of local images, workload links, update-policy mapping, reference result matching, pull reconciliation, image archives, tagging, and cleanup.
backend/…/service.goShows how image provenance statements are resolved and read from local references, registry referrers, and image indexes.
backend/…/service.goShows how vulnerability findings become patched image records, activities, verification scans, and scheduled patch work.
backend/…/handler.goShows the product interface for patch targets, patch history, and starting an image patch.
backend/…/model.goDefines the stored update state, including digest and tag results, errors, and notification state.
backend/…/service.goShows update states, local-image classification, digest comparison, batch checks, persistence, notification, and activity handling.
backend/…/service.goShows container tag-policy checks, per-scan registry lookup sharing, policy-specific persistence, and stale-result cleanup.
backend/…/service.goShows how registry credentials, ECR tokens, digest lookups, pulls, tag lookups, pull usage, rate limits, caching, and remote fallback support image operations.
backend/…/service.goShows repository and tag browsing, manifest details, platform data, namespace limits, and tag deletion.
backend/…/handler.goShows registry management actions and the remote synchronization boundary.
types/…/image.goDefines the image inventory, detail, update, attestation, usage, archive, and pull contracts exposed to product clients.
types/…/build_history.goDefines the build history contract used to review image build results.
backend/…/service.goShows how a detected image change becomes container or project update work.