You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add comprehensive Update Checking section to Docker Integration docs
- Document how Unraid's DockerUpdate class works (local vs remote SHA comparison)
- Add update-status.json file structure and location
- Show how to read and display SHA values for UI
- Add section on handling pinned images with @sha256: digests
- Include common update check issues troubleshooting table
- Cross-reference pinned images from Image Name Normalization section
Unraid's Docker Manager provides a built-in system for checking if container images have updates available. This works by comparing the local image digest (SHA256 hash) with the remote registry's current digest for the same tag.
198
+
199
+
### How Unraid Update Checking Works
200
+
201
+
1.**Local digest**: Extracted from the image's `RepoDigests` field via `docker inspect`
202
+
2.**Remote digest**: Fetched from the container registry's API (Docker Hub, GHCR, etc.)
203
+
3.**Comparison**: If digests differ, an update is available
| Official images not matching | Missing `library/` prefix | `ensureImageTag()` adds it automatically |
342
+
```
343
+
195
344
## Unraid Docker Integration
196
345
197
346
### Reading Docker Configuration
@@ -410,6 +559,10 @@ function normalizeImageForUpdateCheck($image) {
410
559
?>
411
560
```
412
561
562
+
{: .note }
563
+
> Before normalizing, check if the image is pinned using `isImagePinned()` (see [Update Checking](#handling-pinned-images-sha256-digests)). Pinned images should display their pinned status rather than being checked for updates.
0 commit comments