asdf
This commit is contained in:
parent
f44d5740fc
commit
59ef03a59e
@ -119,7 +119,7 @@ class TCGPlayerService:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def is_in_docker():
|
def is_in_docker(self) -> bool:
|
||||||
"""Check if we're running inside a Docker container"""
|
"""Check if we're running inside a Docker container"""
|
||||||
try:
|
try:
|
||||||
with open('/proc/1/cgroup', 'r') as f:
|
with open('/proc/1/cgroup', 'r') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user