mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 08:46:09 +01:00
Added docker to service management
This commit is contained in:
@@ -31,8 +31,7 @@ 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()
|
||||
|
||||
Reference in New Issue
Block a user