← Back to issue list

Upgrade skopeo version for docker engine API version

View original Github issue

Metadata

Project
rockcraft
Number
#490
Type
issue
State
closed
Author
Guillaumebeuzeboc
Labels
—
Created
Updated
Closed

Current evaluation

Skopeo bundled in the rockcraft snap was too old (1.9.0) for Docker Engine 25. Resolved by merged PR #477 upgrading skopeo to 1.14.2; reporter confirmed the fix and it shipped in a 1.2.1 hotfix.

Resolution: closed resolved

Reason: PR #477 (build(deps): update skopeo to 1.14.2) was merged, bumping skopeo from 1.9.0 to 1.14.2 and lifting the Docker client API version above the 1.24 minimum required by Docker 25. The reporter confirmed it fixed the failure on the hotfix/1.2 branch, and maintainer tigarmo closed the issue with "Fixed by #477".

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description The current version of skopeo (v1.9.0) shipped with rockcraft is incompatible with the latest docker engine API version. Calling skopeo to copy an OCI image into the docker-daemon gives: ``` FATA[0000] writing blob: saving image to docker engine: Error response from daemon: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version ``` The current [docker release](https://docs.docker.com/engine/release-notes/25.0/) requires API version 1.24 minimum. Using skopeo from source (v1.15.0) fixes the issue. ### To Reproduce - Install docker on [Ubuntu](https://docs.docker.com/engine/install/ubuntu/) - Install rockcraft stable. - Call `/snap/rockcraft/current/bin/skopeo --insecure-policy copy oci-archive:my_rock_amd64.rock docker-daemon:my_rock:rock` - Gives the following error: `FATA[0000] writing blob: saving image to docker engine: Error response from daemon: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version` ### Environment - Ubuntu 20.04 - rockcraft 1.2.0 ``` $docker version Client: Docker Engine - Community Version: 25.0.3 API version: 1.44 Go version: go1.21.6 Git commit: 4debf41 Built: Tue Feb 6 21:14:17 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 25.0.3 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: f417435 Built: Tue Feb 6 21:14:17 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0 ``` ### rockcraft.yaml ```shell Not relevant. ``` ### Relevant log output ```shell FATA[0000] writing blob: saving image to docker engine: Error response from daemon: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Skopeo bundled in the rockcraft snap was too old (1.9.0) for Docker Engine 25. Resolved by merged PR #477 upgrading skopeo to 1.14.2; reporter confirmed the fix and it shipped in a 1.2.1 hotfix.
stealth/space-bunny-alpha — closed resolved Skopeo was upgraded from 1.9.0 to 1.14.2 in merged PR #477, resolving the Docker Engine API incompatibility. The reporter confirmed the fix.
qwen/qwen3.6-35b-a3b — — Fixed by merging PR #477, which upgrades skopeo to v1.14.2. This resolves the Docker engine API version incompatibility error. The reporter confirmed the update resolves the issue.
qwen/qwen3.6-35b-a3b — — Upgraded skopeo to v1.14.2 to resolve Docker Engine API 1.24+ compatibility errors. The fix was merged in PR #477 and verified by the reporter.
qwen/qwen3.6-35b-a3b — — Fixed by merging PR #477, which upgrades skopeo from v1.9.0 to v1.14.2. This resolves Docker engine API v1.24+ compatibility errors during OCI image copying.
qwen3.6-35b-a3b-mtp-q6 — — Fixed by merging PR #477, which upgraded skopeo to v1.14.2, resolving Docker API v1.24+ compatibility errors. The reporter confirmed the fix works.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/rockcraft#477 (confidence 98%)

    Merged skopeo upgrade to 1.14.2; explicitly cited by the maintainer as the fix.

Related issues

Issue Project State Summary Similarity
#477 build(deps): update skopeo to 1.14.2 rockcraft merged Merged #477 (commit 17fa49b8), upgrading skopeo from 1.9.0 to 1.14.2 to fix Docker Daemon API mismatches and closed-pipe failures.
77%