added check for not-available php versions

This commit is contained in:
usmannasir
2019-01-09 00:07:36 +05:00
parent f17f17e130
commit cd8f12e912
5 changed files with 61 additions and 40 deletions

View File

@@ -31,7 +31,8 @@ def preDockerRun(function):
else:
return render(request, 'dockerManager/install.html', {'status':admin.type, 'conErr':0})
# Check if docker is running and we are able to connect
# Check if docker is running and we are able to connect
try:
client = docker.from_env()
client.ping()