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
{{ message }}
Repository navigation
fix(sandbox): a device updating itself on Docker Engine older than 23 fails with Docker's raw pull error #4733
Tale's images have zstd-compressed layers (#4629), which Docker Engine pulls from 23.0 on. tale sandbox connect and tale sandbox update refuse an older engine up front (assertDeviceEngine, tools/cli/src/lib/actions/sandbox-device.ts:127-137), but a device's automatic self-update does not: when the hub reports a newer server version, the device launches the updater with docker run <new image> (services/sandbox/src/devices/device.ts:404-427 → services/sandbox/src/devices/apply.ts:451-499). On an older engine the pull fails with Docker's own error, which the device records as the update's error (first 500 characters) and retries after UPDATE_RETRY_MS, indefinitely. Devices connected before the engine check shipped can be in exactly this state. Verified on main at 73d03a9.
Suggested fix
Before launching the updater, read the engine version (docker version --format '{{.Server.Version}}', as the CLI check does). Below 24, write a failed update status that says so ("this device's Docker Engine X cannot pull Tale's images — update Docker to 24 or later") and stop retrying until the engine version changes, so the device's status in Settings shows the real cause.
Activity
fix(platform): name a device's too-old Docker Engine in Settings
docs: amend the v0.5.95 release notes
docs: amend the v0.5.95 release notes