summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-08-03 14:17:58 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-08-11 12:55:42 +0200
commit169c136d617638e97cce7fa65c1421d5765a3a89 (patch)
tree9a8ef0270a03b39785155af78e47cb92f7e55f5b
parent400985d020bb7b44f472637e7cd4eea7f143045c (diff)
luci-app-dockerman: fix socket definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua6
1 files 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)