-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: container runtime on mac #2821
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2821 +/- ##
==========================================
+ Coverage 88.48% 89.05% +0.56%
==========================================
Files 138 138
Lines 9351 9352 +1
==========================================
+ Hits 8274 8328 +54
+ Misses 1077 1024 -53
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
jina/peapods/networking.py
Outdated
"""Checks is current process is running inside docker.""" | ||
import subprocess | ||
|
||
result = subprocess.run(['cat', '/proc/self/cgroup'], capture_output=True) |
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.
not so sure cat
is present in every image
2308597
to
22c5be5
Compare
57b1c60
to
181f015
Compare
940cf0e
to
323a146
Compare
This should enable container runtime on Mac again.