Kaydet (Commit) 53de7547 authored tarafından Joffrey F's avatar Joffrey F

Support http+unix protocol

üst d33ba883
......@@ -166,6 +166,8 @@ def parse_host(addr):
addr = addr.strip()
if addr.startswith('http://'):
addr = addr.replace('http://', 'tcp://')
if addr.startswith('http+unix://'):
addr = addr.replace('http+unix://', 'unix://')
if addr == 'tcp://':
raise errors.DockerException("Invalid bind address format: %s" % addr)
......
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