From 169c136d617638e97cce7fa65c1421d5765a3a89 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 3 Aug 2020 14:17:58 +0200 Subject: [PATCH] luci-app-dockerman: fix socket definition Signed-off-by: Florian Eckert --- .../luasrc/model/cbi/dockerman/overview.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua index dc20125e29..59266ac490 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua @@ -99,8 +99,8 @@ o.rmempty = false o = s:option(Value, "socket_path", translate("Docker Socket Path")) -o.default = "unix://var/run/docker.sock" -o.placeholder = "unix://var/run/docker.sock" +o.default = "unix:///var/run/docker.sock" +o.placeholder = "unix:///var/run/docker.sock" o:depends("remote_endpoint", 1) o = s:option(Value, "remote_host", @@ -146,7 +146,7 @@ if nixio.fs.access("/usr/bin/dockerd") then o = s:option(DynamicList, "hosts", translate("Client connection"), translate('Specifies where the Docker daemon will listen for client connections')) - o:value("unix://var/run/docker.sock", "unix://var/run/docker.sock") + o:value("unix:///var/run/docker.sock", "unix:///var/run/docker.sock") o:value("tcp://0.0.0.0:2375", "tcp://0.0.0.0:2375") o.rmempty = true o:depends("remote_endpoint", 0)