Skip to content

fix(sandbox): a device updating itself on Docker Engine older than 23 fails with Docker's raw pull error #4733

Closed

Description

@yannickmonney

Summary

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

  1. added
    agent-ready
    on Oct 29, 2026
  2. added a commit that references this issue on Oct 31, 2026
    6d659ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions