import type { ImageUpdateInfo } from "../../lib/types"; import Modal from "../ui/Modal"; import Button from "../ui/Button"; interface Props { imageUpdateInfo: ImageUpdateInfo; onDismiss: () => void; onClose: () => void; } export default function ImageUpdateDialog({ imageUpdateInfo, onDismiss, onClose, }: Props) { const shortDigest = (digest: string) => { // Show first 16 chars of the hash part (after "sha256:") const hash = digest.startsWith("sha256:") ? digest.slice(7) : digest; return hash.slice(0, 16); }; return ( } >

A newer version of the container image is available in the registry. Re-pull the image in Docker settings to get the latest tools and fixes.

{imageUpdateInfo.local_digest && (
Local digest {shortDigest(imageUpdateInfo.local_digest)}…
)}
Remote digest {shortDigest(imageUpdateInfo.remote_digest)}…

Go to Settings > Container and click "Re-pull Image" to update. Running containers will not be affected until restarted.

); }