Commit 93d6528a authored by duanjinfei's avatar duanjinfei

update docker server config parse

parent bfb71da2
...@@ -80,6 +80,5 @@ func checkDockerServer(rawURL string) (bool, string) { ...@@ -80,6 +80,5 @@ func checkDockerServer(rawURL string) (bool, string) {
ip = parsedURL.Host ip = parsedURL.Host
} }
newUrl := fmt.Sprintf("%s%s:%s", ip, port, protocol) newUrl := fmt.Sprintf("%s%s:%s", ip, port, protocol)
newUrl = fmt.Sprintf("tcp://127.0.0.1:2375")
return true, newUrl return true, newUrl
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment