-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat: raise exception when docker version is below 20.0.0 #2895
Conversation
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
Codecov Report
@@ Coverage Diff @@
## master #2895 +/- ##
==========================================
+ Coverage 82.21% 88.05% +5.83%
==========================================
Files 106 138 +32
Lines 7064 9520 +2456
==========================================
+ Hits 5808 8383 +2575
+ Misses 1256 1137 -119
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -81,6 +81,16 @@ def _docker_run(self, replay: bool = False): | |||
|
|||
client = docker.from_env() | |||
|
|||
docker_version = client.version().get("Version") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use single quotes
Why is this feature required? |
Why is this then not shown in the |
It's |
1654ac2
to
406720c
Compare
When I was trying to run an executor with jinahub, I receive
Upgrading docker's version from 19 to 20 solves the issue |
I think we should understand what's wrong and what exact version is solving this. I think the reason that bumping version solved this is not so strong. |
406720c
to
e444c94
Compare
I found this issue where they discuss the problem |
Good finding then! Let's do this! |
May u reference this issue in the code or even in the |
e8d8648
to
02c0f12
Compare
02c0f12
to
5d943e8
Compare
No description provided.