Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skopeo does not work against docker daemons at version 25.0.0 or higher #2202

Closed
bainsy88 opened this issue Jan 22, 2024 · 5 comments
Closed
Labels
kind/bug A defect in an existing functionality (or a PR fixing it) locked - please file new issue/PR

Comments

@bainsy88
Copy link

This is a result of the following issue in contianers/image - containers/image#2259.

However I thought it would be worth a separate issue on skopeo so that we can track pulling in a new version of containers image when a fix has been made.

@mtrmac mtrmac added the kind/bug A defect in an existing functionality (or a PR fixing it) label Jan 23, 2024
@mtrmac
Copy link
Contributor

mtrmac commented Jan 23, 2024

Thanks! Let’s discuss the details in containers/image#2260 .

@mtrmac
Copy link
Contributor

mtrmac commented Jan 24, 2024

A c/image fix was merged, and it will be included in Skopeo before tagging a new release.

In the meantime, a possible workaround:

# cat /etc/systemd/system/docker.service.d/version.conf 
[Service]
Environment=DOCKER_MIN_API_VERSION=1.22

@TomSweeneyRedHat
Copy link
Member

Just noting that containers/image#2260 has merged. Once the latest c/image (> v5.29.1) is vendored here, we can close this Issue

@mtrmac
Copy link
Contributor

mtrmac commented Feb 20, 2024

This fix was released in Skopeo 1.14.2.

@mirekphd
Copy link

DOCKER_MIN_API_VERSION

Here is the complete procedure of reconfiguring the Docker daemon to make it see this env variable:

$ sudo mkdir -p /etc/systemd/system/docker.service.d
$ printf "[Service] \n\nEnvironment=DOCKER_MIN_API_VERSION=1.22\n" | sudo tee /etc/systemd/system/docker.service.d/version.conf
$ sudo systemctl daemon-reload && sudo systemctl restart docker

@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Jun 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug A defect in an existing functionality (or a PR fixing it) locked - please file new issue/PR
Projects
None yet
Development

No branches or pull requests

4 participants