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

Unable to rerun containerized workflow with Docker 27 #27

Open
mslw opened this issue Feb 5, 2025 · 0 comments
Open

Unable to rerun containerized workflow with Docker 27 #27

mslw opened this issue Feb 5, 2025 · 0 comments

Comments

@mslw
Copy link

mslw commented Feb 5, 2025

Running datalad rerun results-containerized with Docker version 27.5.1 produces the following error after the download is complete (ellipsis used to remove non-essential parts). The docker image is loaded, but the ID does not match DataLad's expectation:

[INFO] == Command start (output follows) =====
[ERROR] Failed to execute ['(...)datalad_container\\adapters\\docker.py', 'run', 'container/image', 'sh', '-c', 'mkdir /tmp/dockertmp; HOME=/tmp/dockertmp make -f Docker-Makefile clean results_def.tex && rm -rf /tmp/dockertmp']
(...)
RuntimeError: docker image sha256:f881bd4db45ac9775f5a5377485a7c939fea4685d7482eed4809cb83fc3b51a3 was not successfully loaded
[INFO] == Command exit (modification check follows) =====

This seems specific to Docker 27 (currently the latest version). It was observed and confirmed only on Windows, but likely affects other operating systems. With Docker 26, things reportedly work fine.

The probable cause is discussed in datalad/datalad-container#269. At this point, a workaround would be to either downgrade docker to v26, or to run a patched version of datalad-container from a pull request linked in that issue.

The issue was first reported by Lisa W., who AFAIK is not on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant