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

Improve compatibility with docker 24.0.x #147

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

dirkmueller
Copy link
Collaborator

@dirkmueller dirkmueller commented Aug 4, 2023

The error message is now "Error from daemon: .... no such volume". So the colon after "Error" is now missing. Switch to a more specific part of the error message that appears to be more common across versions and variants

@dirkmueller dirkmueller changed the title No volume Improve compatibility with docker 24.0.x Aug 4, 2023
@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Merging #147 (084d2bb) into main (091cb3e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #147   +/-   ##
=======================================
  Coverage   94.61%   94.61%           
=======================================
  Files           9        9           
  Lines        1002     1002           
  Branches      202      202           
=======================================
  Hits          948      948           
  Misses         40       40           
  Partials       14       14           
Files Changed Coverage Δ
pytest_container/runtime.py 87.65% <ø> (ø)

The error message is now "Error from daemon: .... no such volume".
So the colon after "Error" is now missing. Switch to a more specific
part of the error message that appears to be more common across
versions and variants
the new buildkit backend does no longer provide the stdout output
that we'er expecting, so as a simple fix hard code the legacy one
for now. This needs to be addressed in a larger rewrite.
@dcermak dcermak merged commit 66e1c68 into dcermak:main Aug 7, 2023
32 checks passed
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

Successfully merging this pull request may close these issues.

2 participants