mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-01 20:34:36 +01:00
Closes #121
This commit is contained in:
@@ -391,7 +391,7 @@ def can_create_container():
|
||||
try:
|
||||
output = subprocess.check_output(['docker', 'version'])
|
||||
return True
|
||||
except subprocess.CalledProcessError:
|
||||
except (subprocess.CalledProcessError, OSError):
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user