mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 23:36:11 +01:00
Bug fixes
This commit is contained in:
@@ -32,6 +32,7 @@ def preDockerRun(function):
|
||||
return render(request, 'dockerManager/install.html', {'status':admin.type, 'conErr':0})
|
||||
|
||||
# Check if docker is running and we are able to connect
|
||||
|
||||
try:
|
||||
client = docker.from_env()
|
||||
client.ping()
|
||||
|
||||
Reference in New Issue
Block a user