← 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

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 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. The contributor verified the fix on the hotfix branch.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#477 build(deps): update skopeo to 1.14.2 rockcraft merged Merged skopeo update from 1.9.0 to 1.14.2, resolving Docker Daemon API mismatch and closed pipe errors during rock-to-Docker conversion. Approved by two reviewers and passed CI.
80%