summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/controller
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/controller')
-rw-r--r--applications/luci-app-dockerman/luasrc/controller/dockerman.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
index 9167a896ca..def685ce7c 100644
--- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
+++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
@@ -22,7 +22,7 @@ function index()
return
end
else
- local socket = luci.model.uci.cursor():get("dockerd", "globals", "socket_path")
+ local socket = luci.model.uci.cursor():get("dockerd", "globals", "socket_path") or "/var/run/docker.sock"
if socket and not nixio.fs.access(socket) then
return
end